public class GenericMetaData extends JdbcMetaData
| Constructor and Description |
|---|
GenericMetaData(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 |
createSequenceSQL(java.lang.String name,
int size)
Returns a sequence select expression.
|
java.lang.String |
getBlobType()
Returns the blob type.
|
java.lang.String |
getCreateColumnSQL(int sqlType,
int length,
int precision,
int scale)
to Return SQL for the table with the given
SQL type.
|
protected java.lang.String |
getCreateColumnSQLImpl(int sqlType,
int length,
int precision,
int scale)
Returns the SQL for the table with the given SQL type.
|
protected java.lang.String |
getDefaultCreateTableSQL(int sqlType,
int length,
int precision,
int scale) |
java.lang.String |
getFalseLiteral()
Returns the literal for FALSE.
|
java.lang.String |
getLongType()
Returns the long type.
|
java.lang.String |
selectSequenceSQL(java.lang.String name)
Returns a sequence select expression.
|
boolean |
supportsGetGeneratedKeys()
True if the generated keys is supported
|
boolean |
supportsIdentity()
Returns true if identity is supported.
|
boolean |
supportsPositionFunction()
Returns true if the POSITION function is supported.
|
boolean |
supportsSequences()
Returns true if sequences are supported.
|
boolean |
supportsUpdateTableAlias()
Returns true if table alias name with UPDATE is supported.
|
boolean |
supportsUpdateTableList()
Returns true if table list with UPDATE is supported:
UPDATE table1 a, table2 b SET ...
|
create, generateBoolean, getConnection, getDatabaseName, isForeignKeyViolationSQLState, isLimit, isLimitOffset, isTruncateBlobBeforeDelete, isUniqueConstraintSQLState, limit, testSequenceSQLpublic java.lang.String getLongType()
getLongType in class JdbcMetaDatapublic java.lang.String getBlobType()
getBlobType in class JdbcMetaDatapublic java.lang.String getFalseLiteral()
getFalseLiteral in class JdbcMetaDatapublic boolean supportsGetGeneratedKeys()
supportsGetGeneratedKeys in class JdbcMetaDatapublic boolean supportsPositionFunction()
supportsPositionFunction in class JdbcMetaDatapublic boolean supportsUpdateTableAlias()
supportsUpdateTableAlias in class JdbcMetaDatapublic boolean supportsUpdateTableList()
supportsUpdateTableList in class JdbcMetaDatapublic boolean supportsIdentity()
supportsIdentity in class JdbcMetaDatapublic java.lang.String createIdentitySQL(java.lang.String sqlType)
createIdentitySQL in class JdbcMetaDatapublic boolean supportsSequences()
supportsSequences in class JdbcMetaDatapublic java.lang.String createSequenceSQL(java.lang.String name,
int size)
createSequenceSQL in class JdbcMetaDatapublic java.lang.String selectSequenceSQL(java.lang.String name)
JdbcMetaDataselectSequenceSQL in class JdbcMetaDatapublic java.lang.String getCreateColumnSQL(int sqlType,
int length,
int precision,
int scale)
getCreateColumnSQL in class JdbcMetaDataprotected java.lang.String getCreateColumnSQLImpl(int sqlType,
int length,
int precision,
int scale)
protected java.lang.String getDefaultCreateTableSQL(int sqlType,
int length,
int precision,
int scale)