public class PlatformDefaultImpl extends java.lang.Object implements Platform
| 构造器和说明 |
|---|
PlatformDefaultImpl()
Default constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getAutoIncrement() |
java.lang.String |
getDBTYPE() |
Domain |
getDomainForSchemaType(int jdbcType,
java.lang.String typeName)
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.
|
protected void |
setSchemaDomainMapping(Domain domain) |
protected void setSchemaDomainMapping(Domain domain)
public int getMaxColumnNameLength()
PlatformgetMaxColumnNameLength 在接口中 PlatformPlatform.getMaxColumnNameLength()public java.lang.String getNativeIdMethod()
PlatformgetNativeIdMethod 在接口中 PlatformPlatform.getNativeIdMethod()public Domain getDomainForSchemaType(SchemaType jdbcType)
PlatformgetDomainForSchemaType 在接口中 PlatformjdbcType - the jdbcType namePlatform#getDomainForJdbcType(SchemaType)public java.lang.String getNullString(boolean notNull)
getNullString 在接口中 PlatformPlatform.getNullString(boolean)public SchemaType getSchemaTypeFromSqlType(int sqltype, java.lang.String typeName)
getSchemaTypeFromSqlType 在接口中 Platformpublic java.lang.String getAutoIncrement()
getAutoIncrement 在接口中 PlatformPlatform.getAutoIncrement()public boolean hasScale(java.lang.String sqlType)
PlatformhasScale 在接口中 PlatformsqlType - the SQL typeTODO collect info for all platformspublic boolean hasSize(java.lang.String sqlType)
PlatformhasSize 在接口中 PlatformsqlType - the SQL typeTODO collect info for all platformspublic Domain getDomainForSchemaType(int jdbcType, java.lang.String typeName)
PlatformgetDomainForSchemaType 在接口中 PlatformjdbcType - the jdbcType namepublic boolean hasSize(int sqlType)
Platformpublic boolean hasScale(int sqlType)
Platform