// ===================================================================================
 //                                                                         Constructor
 //                                                                         ===========
 public BsWhiteCompoundPkRefCB() {
   if (DBFluteConfig.getInstance().isPagingCountLater()) {
     enablePagingCountLater();
   }
   if (DBFluteConfig.getInstance().isPagingCountLeastJoin()) {
     enablePagingCountLeastJoin();
   }
   if (DBFluteConfig.getInstance().isCheckCountBeforeQueryUpdate()) {
     enableCheckCountBeforeQueryUpdate();
   }
 }
  // ===================================================================================
  //                                                                  DBFluteInitializer
  //                                                                  ==================
  public void test_DBFluteInitializer_initializing() {
    // ## Arrange ##
    final Set<String> markSet = new HashSet<String>();
    final DBFluteConfig config = DBFluteConfig.getInstance();
    config.unlock();

    // ## Act ##
    new DBFluteInitializer() {
      @Override
      protected void loadCoolClasses() {
        markSet.add("loadCoolClasses");
        super.loadCoolClasses();
      }

      @Override
      protected void handleSqlLogRegistry() {
        markSet.add("handleSqlLogRegistry");
        super.handleSqlLogRegistry();
      }
    };

    // ## Assert ##
    assertTrue(config.isLocked());
    assertTrue(markSet.contains("loadCoolClasses"));
    assertTrue(markSet.contains("handleSqlLogRegistry"));
  }
 // ===================================================================================
 //                                                                           SqlClause
 //                                                                           =========
 @Override
 protected SqlClause createSqlClause() {
   SqlClauseCreator creator = DBFluteConfig.getInstance().getSqlClauseCreator();
   if (creator != null) {
     return creator.createSqlClause(this);
   }
   return new ImplementedSqlClauseCreator().createSqlClause(this); // as default
 }
 @Override
 protected String getLogTimestampFormat() {
   return DBFluteConfig.getInstance().getLogTimestampFormat();
 }
 {
   _tableSqlName.xacceptFilter(DBFluteConfig.getInstance().getTableSqlNameFilter());
 }