public static TableDefinition tableDefinition() { TableDefinition definition = new TableDefinition(); definition.setName("CALENDARTOTSTZ_BINDING"); definition.addField("TEST_ID", Integer.class); definition.addField("TSTZ_DATA", TIMESTAMPTZ.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; }
public TableDataIO_Indexed(TableDefinition def) throws Exception { super(def); indexFile = BaseIO.getFile(def.getTableName() + "_" + def.getPK() + ".idx"); }