1 package org.apache.torque.engine.platform; 2 3 18 19 import org.apache.torque.engine.database.model.Domain; 20 import org.apache.torque.engine.database.model.SchemaType; 21 22 28 public class PlatformInterbaseImpl extends PlatformDefaultImpl 29 { 30 33 public PlatformInterbaseImpl() 34 { 35 super(); 36 initialize(); 37 } 38 39 42 private void initialize() 43 { 44 setSchemaDomainMapping(new Domain(SchemaType.BIT, "NUMERIC", "1", "0")); 45 setSchemaDomainMapping(new Domain(SchemaType.CHAR, "VARCHAR")); 46 setSchemaDomainMapping(new Domain(SchemaType.BOOLEANCHAR, "VARCHAR", "1")); 47 setSchemaDomainMapping(new Domain(SchemaType.LONGVARCHAR, "VARCHAR")); 48 setSchemaDomainMapping(new Domain(SchemaType.VARBINARY, "BLOB")); 49 } 50 51 } 52 | Popular Tags |