Example #1
0
 // ===================================================================================
 //                                                                         Constructor
 //                                                                         ===========
 public BsTweetCB() {
   if (DBFluteConfig.getInstance().isPagingCountLater()) {
     enablePagingCountLater();
   }
   if (DBFluteConfig.getInstance().isPagingCountLeastJoin()) {
     enablePagingCountLeastJoin();
   }
   if (DBFluteConfig.getInstance().isCheckCountBeforeQueryUpdate()) {
     enableCheckCountBeforeQueryUpdate();
   }
 }
Example #2
0
 // ===================================================================================
 //                                                                           SqlClause
 //                                                                           =========
 @Override
 protected SqlClause createSqlClause() {
   SqlClauseCreator creator = DBFluteConfig.getInstance().getSqlClauseCreator();
   if (creator != null) {
     return creator.createSqlClause(this);
   }
   return new ImplementedSqlClauseCreator().createSqlClause(this); // as default
 }
Example #3
0
 @Override
 protected String getLogTimestampFormat() {
   return DBFluteConfig.getInstance().getLogTimestampFormat();
 }