com.caucho.jdbc
Class ResinMetaData

java.lang.Object
  extended by com.caucho.jdbc.JdbcMetaData
      extended by com.caucho.jdbc.GenericMetaData
          extended by com.caucho.jdbc.ResinMetaData

public class ResinMetaData
extends GenericMetaData

Metadata for the Resin database.


Constructor Summary
protected ResinMetaData(javax.sql.DataSource ds)
           
 
Method Summary
 java.lang.String createIdentitySQL(java.lang.String sqlType)
          Returns the identity property
 java.lang.String getBlobType()
          Returns the blob type.
 java.lang.String getFalseLiteral()
          Returns the literal for FALSE.
 java.lang.String getLongType()
          Returns the long type.
 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.
 
Methods inherited from class com.caucho.jdbc.GenericMetaData
createSequenceSQL, getCreateColumnSQL, getCreateColumnSQLImpl, getDefaultCreateTableSQL, selectSequenceSQL, supportsGetGeneratedKeys, supportsSequences, supportsUpdateTableAlias, supportsUpdateTableList
 
Methods inherited from class com.caucho.jdbc.JdbcMetaData
create, generateBoolean, getConnection, getDatabaseName, isForeignKeyViolationSQLState, isTruncateBlobBeforeDelete, isUniqueConstraintSQLState, testSequenceSQL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResinMetaData

protected ResinMetaData(javax.sql.DataSource ds)
Method Detail

getFalseLiteral

public java.lang.String getFalseLiteral()
Returns the literal for FALSE.

Overrides:
getFalseLiteral in class GenericMetaData

getBlobType

public java.lang.String getBlobType()
Returns the blob type.

Overrides:
getBlobType in class GenericMetaData

getLongType

public java.lang.String getLongType()
Returns the long type.

Overrides:
getLongType in class GenericMetaData

supportsIdentity

public boolean supportsIdentity()
Returns true if identity is supported.

Overrides:
supportsIdentity in class GenericMetaData

supportsPositionFunction

public boolean supportsPositionFunction()
Returns true if the POSITION function is supported.

Overrides:
supportsPositionFunction in class GenericMetaData

createIdentitySQL

public java.lang.String createIdentitySQL(java.lang.String sqlType)
Returns the identity property

Overrides:
createIdentitySQL in class GenericMetaData

isLimit

public boolean isLimit()
Description copied from class: JdbcMetaData
Returns true if the metadata can handle limit

Overrides:
isLimit in class JdbcMetaData

isLimitOffset

public boolean isLimitOffset()
Description copied from class: JdbcMetaData
Returns true if the metadata can handle limit and offset

Overrides:
isLimitOffset in class JdbcMetaData

limit

public java.lang.String limit(java.lang.String sql,
                              int offset,
                              int limit)
Returns a limit.

Overrides:
limit in class JdbcMetaData