public interface Platform
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
IDENTITY
constant for native id method
|
static java.lang.String |
SEQUENCE
constant for native id method
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getAutoIncrement() |
java.lang.String |
getDBTYPE() |
Domain |
getDomainForSchemaType(int jdbcType,
java.lang.String datatypeName)
Returns the db specific domain for a jdbcType.
|
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) |
SchemaType |
getSchemaTypeFromSqlType(int sqltype,
java.lang.String typeName) |
boolean |
hasScale(int sqlType)
Returns if the RDBMS-specific SQL type has a scale attribute.
|
boolean |
hasScale(java.lang.String sqlType)
Returns if the RDBMS-specific SQL type has a scale attribute.
|
boolean |
hasSize(int sqlType)
Returns if the RDBMS-specific SQL type has a size attribute.
|
boolean |
hasSize(java.lang.String sqlType)
Returns if the RDBMS-specific SQL type has a size attribute.
|
static final java.lang.String IDENTITY
static final java.lang.String SEQUENCE
java.lang.String getNativeIdMethod()
int getMaxColumnNameLength()
Domain getDomainForSchemaType(SchemaType jdbcType)
jdbcType - the jdbcType nameDomain getDomainForSchemaType(int jdbcType, java.lang.String datatypeName)
jdbcType - the jdbcType namejava.lang.String getNullString(boolean notNull)
NULL
or NOT NULL.java.lang.String getAutoIncrement()
boolean hasSize(java.lang.String sqlType)
sqlType - the SQL typeboolean hasSize(int sqlType)
sqlType - the SQL typeboolean hasScale(java.lang.String sqlType)
sqlType - the SQL typeboolean hasScale(int sqlType)
sqlType - the SQL typejava.lang.String getDBTYPE()
SchemaType getSchemaTypeFromSqlType(int sqltype, java.lang.String typeName)