/** INTERNAL: Return a TableDefinition specifying sequence table. */
 public TableDefinition buildTableDefinition() {
   TableDefinition definition = new TableDefinition();
   definition.setName(getSequenceTableName());
   definition.addPrimaryKeyField(getSequenceNameFieldName(), String.class, 50);
   definition.addField(getSequenceCounterFieldName(), BigDecimal.class);
   return definition;
 }
  /** Return a platform independant definition of the database table. */
  public static TableDefinition tableDefinition(Session session) {
    TableDefinition definition = TypeTester.tableDefinition();
    FieldDefinition fieldDef;

    definition.setName("BOOLEANS");
    fieldDef = new FieldDefinition("BOOLEANV", Boolean.class);
    fieldDef.setShouldAllowNull(false);
    definition.addField(fieldDef);

    fieldDef = new FieldDefinition("BOOLEANC", Boolean.class);
    fieldDef.setShouldAllowNull(false);
    definition.addField(fieldDef);

    return definition;
  }