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 interface Platform 29 { 30 31 static final String IDENTITY = "identity"; 32 33 static final String SEQUENCE = "sequence"; 34 35 40 String getNativeIdMethod(); 41 42 47 int getMaxColumnNameLength(); 48 49 55 Domain getDomainForSchemaType(SchemaType jdbcType); 56 57 61 String getNullString(boolean notNull); 62 63 66 String getAutoIncrement(); 67 68 74 boolean hasSize(String sqlType); 75 76 82 boolean hasScale(String sqlType); 83 } 84 | Popular Tags |