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 PlatformHypersonicImpl extends PlatformDefaultImpl 29 { 30 33 public PlatformHypersonicImpl() 34 { 35 super(); 36 initialize(); 37 } 38 39 42 private void initialize() 43 { 44 setSchemaDomainMapping(new Domain(SchemaType.CHAR, "VARCHAR")); 45 setSchemaDomainMapping(new Domain(SchemaType.BOOLEANCHAR, "VARCHAR")); 46 setSchemaDomainMapping(new Domain(SchemaType.LONGVARCHAR, "VARCHAR")); 47 setSchemaDomainMapping(new Domain(SchemaType.VARBINARY, "BINARY")); 48 setSchemaDomainMapping(new Domain(SchemaType.BLOB, "BINARY")); 49 setSchemaDomainMapping(new Domain(SchemaType.CLOB, "LONGVARCHAR")); 50 } 51 52 } 53 | Popular Tags |