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, testSequenceSQL
public java.lang.String getLongType()
getLongType
in class JdbcMetaData
public java.lang.String getBlobType()
getBlobType
in class JdbcMetaData
public java.lang.String getFalseLiteral()
getFalseLiteral
in class JdbcMetaData
public boolean supportsGetGeneratedKeys()
supportsGetGeneratedKeys
in class JdbcMetaData
public boolean supportsPositionFunction()
supportsPositionFunction
in class JdbcMetaData
public boolean supportsUpdateTableAlias()
supportsUpdateTableAlias
in class JdbcMetaData
public boolean supportsUpdateTableList()
supportsUpdateTableList
in class JdbcMetaData
public boolean supportsIdentity()
supportsIdentity
in class JdbcMetaData
public java.lang.String createIdentitySQL(java.lang.String sqlType)
createIdentitySQL
in class JdbcMetaData
public boolean supportsSequences()
supportsSequences
in class JdbcMetaData
public java.lang.String createSequenceSQL(java.lang.String name, int size)
createSequenceSQL
in class JdbcMetaData
public java.lang.String selectSequenceSQL(java.lang.String name)
JdbcMetaData
selectSequenceSQL
in class JdbcMetaData
public java.lang.String getCreateColumnSQL(int sqlType, int length, int precision, int scale)
getCreateColumnSQL
in class JdbcMetaData
protected 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)