|
||||||||||
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 java.lang.String |
IDENTITY
constant for native id method |
static java.lang.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. |
java.lang.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. |
java.lang.String |
getNativeIdMethod()
Returns the native IdMethod (sequence|identity) |
java.lang.String |
getNullString(boolean notNull)
|
boolean |
hasScale(java.lang.String sqlType)
Returns if the RDBMS-specific SQL type has a scale attribute. |
boolean |
hasSize(java.lang.String sqlType)
Returns if the RDBMS-specific SQL type has a size attribute. |
Field Detail |
---|
static final java.lang.String IDENTITY
static final java.lang.String SEQUENCE
Method Detail |
---|
java.lang.String getNativeIdMethod()
int getMaxColumnNameLength()
Domain getDomainForSchemaType(SchemaType jdbcType)
jdbcType
- the jdbcType name
java.lang.String getNullString(boolean notNull)
NULL
or NOT NULL
.java.lang.String getAutoIncrement()
boolean hasSize(java.lang.String sqlType)
sqlType
- the SQL type
boolean hasScale(java.lang.String sqlType)
sqlType
- the SQL type
boolean createNotNullBeforeAutoincrement()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |