|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 | |
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 |
public static final java.lang.String IDENTITY
public static final java.lang.String SEQUENCE
Method Detail |
public java.lang.String getNativeIdMethod()
public int getMaxColumnNameLength()
public Domain getDomainForSchemaType(SchemaType jdbcType)
jdbcType
- the jdbcType name
public java.lang.String getNullString(boolean notNull)
NULL
or NOT NULL
.public java.lang.String getAutoIncrement()
public boolean hasSize(java.lang.String sqlType)
sqlType
- the SQL type
public boolean hasScale(java.lang.String sqlType)
sqlType
- the SQL type
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |