|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Platform
Interface for RDBMS platform specific behaviour.
Field Summary | |
---|---|
static String |
IDENTITY
constant for native id method |
static String |
SEQUENCE
constant for native id method |
Method Summary | |
---|---|
boolean |
createNotNullBeforeAutoincrement()
Returns whether the "not null part" of the definition of a column should be generated before the "autoincrement part" in a "create table" statement. |
String |
getAutoIncrement()
|
Domain |
getDomainForSchemaType(SchemaType jdbcType)
Returns the db specific domain for a jdbcType. |
int |
getMaxColumnNameLength()
Returns the max column length supported by the db. |
String |
getNativeIdMethod()
Returns the native IdMethod (sequence|identity) |
String |
getNullString(boolean notNull)
|
boolean |
hasScale(String sqlType)
Returns if the RDBMS-specific SQL type has a scale attribute. |
boolean |
hasSize(String sqlType)
Returns if the RDBMS-specific SQL type has a size attribute. |
Field Detail |
---|
static final String IDENTITY
static final String SEQUENCE
Method Detail |
---|
String getNativeIdMethod()
int getMaxColumnNameLength()
Domain getDomainForSchemaType(SchemaType jdbcType)
jdbcType
- the jdbcType name
String getNullString(boolean notNull)
NULL
or NOT NULL
.String getAutoIncrement()
boolean hasSize(String sqlType)
sqlType
- the SQL type
boolean hasScale(String sqlType)
sqlType
- the SQL type
boolean createNotNullBeforeAutoincrement()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |