|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.jdbc.JdbcMetaData
com.caucho.jdbc.GenericMetaData
public class GenericMetaData
| Constructor Summary | |
|---|---|
GenericMetaData(javax.sql.DataSource ds)
|
|
| Method Summary | |
|---|---|
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 ... |
| Methods inherited from class com.caucho.jdbc.JdbcMetaData |
|---|
create, generateBoolean, getConnection, getDatabaseName, isForeignKeyViolationSQLState, isLimit, isLimitOffset, isTruncateBlobBeforeDelete, isUniqueConstraintSQLState, limit, testSequenceSQL |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GenericMetaData(javax.sql.DataSource ds)
| Method Detail |
|---|
public 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 JdbcMetaData
public java.lang.String createSequenceSQL(java.lang.String name,
int size)
createSequenceSQL in class JdbcMetaDatapublic 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||