public class SqlServerMetaData extends GenericMetaData
Modifier | Constructor and Description |
---|---|
protected |
SqlServerMetaData(javax.sql.DataSource ds) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createIdentitySQL(java.lang.String sqlType)
Returns the identity property
|
java.lang.String |
generateBoolean(java.lang.String term)
Returns the code to test for a boolean value for a term.
|
java.lang.String |
getCreateColumnSQL(int sqlType,
int length,
int precision,
int scale)
to Return SQL for the table with the given
SQL type.
|
boolean |
supportsIdentity()
Returns true if identity is supported.
|
createSequenceSQL, getBlobType, getCreateColumnSQLImpl, getDefaultCreateTableSQL, getFalseLiteral, getLongType, selectSequenceSQL, supportsGetGeneratedKeys, supportsPositionFunction, supportsSequences, supportsUpdateTableAlias, supportsUpdateTableList
create, getConnection, getDatabaseName, isForeignKeyViolationSQLState, isLimit, isLimitOffset, isTruncateBlobBeforeDelete, isUniqueConstraintSQLState, limit, testSequenceSQL
public boolean supportsIdentity()
supportsIdentity
in class GenericMetaData
public java.lang.String createIdentitySQL(java.lang.String sqlType)
createIdentitySQL
in class GenericMetaData
public java.lang.String getCreateColumnSQL(int sqlType, int length, int precision, int scale)
GenericMetaData
getCreateColumnSQL
in class GenericMetaData
public java.lang.String generateBoolean(java.lang.String term)
JdbcMetaData
generateBoolean
in class JdbcMetaData