com.triactive.jdo.store
Class DB2JAdapter

java.lang.Object
  extended by com.triactive.jdo.store.DatabaseAdapter
      extended by com.triactive.jdo.store.CloudscapeAdapter
          extended by com.triactive.jdo.store.DB2JAdapter

 class DB2JAdapter
extends CloudscapeAdapter

Provides methods for adapting SQL language elements to the DB2J (Cloudscape 5) database.

Author:
Matthew Cooper
See Also:
CloudscapeAdapter

Field Summary
 
Fields inherited from class com.triactive.jdo.store.DatabaseAdapter
databaseMajorVersion, databaseMinorVersion, databaseProductName, databaseProductVersion, identifierQuoteString, keywords, maxColumnNameLength, maxConstraintNameLength, maxIndexNameLength, maxTableNameLength, storesLowerCaseIdentifiers, storesUpperCaseIdentifiers, typeMappings, typesByTypeNumber
 
Constructor Summary
protected DB2JAdapter(java.sql.DatabaseMetaData metadata)
          Constructs an DB2J adapter based on the given JDBC metadata.
 
Method Summary
 java.lang.String getVendorID()
           
 boolean supportsNullsInCandidateKeys()
           
 
Methods inherited from class com.triactive.jdo.store.CloudscapeAdapter
getDropTableStatement, newTableExpression, supportsDeferredConstraints
 
Methods inherited from class com.triactive.jdo.store.DatabaseAdapter
closeConnection, createIndexesBeforeForeignKeys, createTypeInfo, getAddCandidateKeyStatement, getAddForeignKeyStatement, getAddPrimaryKeyStatement, getConnection, getCreateIndexStatement, getCreateTableStatement, getDropViewStatement, getIdentifierQuoteString, getInstance, getMapping, getMapping, getMapping, getMappingClass, getMaxColumnNameLength, getMaxConstraintNameLength, getMaxIndexNameLength, getMaxTableNameLength, getSchemaName, getSQLState, getTypeInfo, getTypeInfo, getUnlimitedLengthPrecisionValue, includeOrderByColumnsInSelect, isEmbeddedType, isSQLKeyword, lengthMethod, newColumnInfo, newDataStoreException, newForeignKeyInfo, newQueryStatement, newQueryStatement, newTypeInfo, parseKeywordList, storesLowerCaseIdentifiers, storesUpperCaseIdentifiers, substringMethod, substringMethod, supportsAlterTableDropConstraint, supportsBooleanComparison, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DB2JAdapter

protected DB2JAdapter(java.sql.DatabaseMetaData metadata)
Constructs an DB2J adapter based on the given JDBC metadata.

Parameters:
metadata - the database metadata.
Method Detail

getVendorID

public java.lang.String getVendorID()
Overrides:
getVendorID in class CloudscapeAdapter

supportsNullsInCandidateKeys

public boolean supportsNullsInCandidateKeys()
Overrides:
supportsNullsInCandidateKeys in class DatabaseAdapter


Copyright ? 2001 TriActive, Inc. All Rights Reserved.