public class MysqlMetaData extends GenericMetaData
Modifier | Constructor and Description |
---|---|
protected |
MysqlMetaData(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 |
getFalseLiteral()
Returns the literal for FALSE.
|
boolean |
isLimit()
Returns true if the metadata can handle limit
|
boolean |
isLimitOffset()
Returns true if the metadata can handle limit and offset
|
java.lang.String |
limit(java.lang.String sql,
int offset,
int limit)
Returns a limit.
|
boolean |
supportsIdentity()
Returns true if identity is supported.
|
boolean |
supportsPositionFunction()
Returns true if the POSITION function is supported.
|
boolean |
supportsUpdateTableList()
Returns true if table list with UPDATE is supported:
UPDATE table1 a, table2 b SET ...
|
createSequenceSQL, getBlobType, getCreateColumnSQL, getCreateColumnSQLImpl, getDefaultCreateTableSQL, getLongType, selectSequenceSQL, supportsGetGeneratedKeys, supportsSequences, supportsUpdateTableAlias
create, generateBoolean, getConnection, getDatabaseName, isForeignKeyViolationSQLState, isTruncateBlobBeforeDelete, isUniqueConstraintSQLState, testSequenceSQL
public java.lang.String getFalseLiteral()
getFalseLiteral
in class GenericMetaData
public boolean supportsIdentity()
supportsIdentity
in class GenericMetaData
public boolean supportsPositionFunction()
supportsPositionFunction
in class GenericMetaData
public boolean supportsUpdateTableList()
supportsUpdateTableList
in class GenericMetaData
public java.lang.String createIdentitySQL(java.lang.String sqlType)
createIdentitySQL
in class GenericMetaData
public boolean isLimit()
JdbcMetaData
isLimit
in class JdbcMetaData
public boolean isLimitOffset()
JdbcMetaData
isLimitOffset
in class JdbcMetaData
public java.lang.String limit(java.lang.String sql, int offset, int limit)
limit
in class JdbcMetaData