|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.websphere.rsadapter.DataStoreHelperMetaData
MetaData object for DataStoreHelpers. This MetaData object may be used to retrieve static information about the database. Setter methods are provided ONLY for the DataStoreHelper class to initialize the MetaData. The setters should never be used by the application.
Constructor Summary | |
---|---|
DataStoreHelperMetaData()
Create a new DataStoreHelperMetaData instance with all the default values. |
Method Summary | |
---|---|
int |
getDatabaseDefaultIsolationLevel()
|
int |
getHelperType()
This method returns the helper type the list of helper types is defined in the DataStoreHelper as follows: CUSTOM_HELPER = -1, CLOUDSCAPE_HELPER = 0, DB2_HELPER = 1, DB2_400_HELPER = 2, DB2_390_HELPER = 3, DB2_UNIVERSAL_HELPER = 4, GENERIC_HELPER = 5, DATADIRECT_HELPER = 6, CONNECTJDBC_HELPER = 7, WSCONNECTJDBC_HELPER = 8, SEQUELINK_HELPER = 9, MSSQL_HELPER = 10, SYBASE_HELPER = 11, SYBASE11_HELPER = 12, ORACLE_HELPER = 13, INFORMIX_HELPER = 14; |
void |
setDatabaseDefaultIsolationLevel(int level)
Set the default isolation level for the database. |
void |
setExtendedForUpdateSupport(boolean flag)
This method sets the extendedForUpdate support. |
void |
setGetCatalogSupport(boolean flag)
Sets a flag indicating the database driver supports 'getCatalog' method. |
void |
setGetTypeMapSupport(boolean flag)
Sets a flag indicating the database driver supports 'getTypeMap'. |
void |
setHelperType(int hType)
This method sets the helper type, the helper type is a int constant which will be used in place of instanceof operations for performance reasons |
void |
setKerberosSupport(boolean flag)
Sets whether the database supports kerberos. |
void |
setMultiplePartitionDBSupport(boolean flag)
d146350 This method sets the mulitple partition databases support. |
void |
setReadOnlySupport(boolean flag)
Sets a flag indicating the database support for ReadOnly. |
void |
setSelectForUpdateSupport(boolean flag)
Sets a flag indicating the database support of 'select for update'. |
boolean |
supportsExtendedForUpdate()
Indicate whether the database supports extended-for-update |
boolean |
supportsGetCatalog()
Sets a flag indicating the database support of 'getCatalog'. |
boolean |
supportsGetTypeMap()
returns whether the database driver supports 'getTypeMap' method. |
boolean |
supportsIsReadOnly()
indicates whether the database driver supports 'readOnly'. |
boolean |
supportsKerberos()
Indicate whether the database supports kerberos. |
boolean |
supportsMultiplePartitionDB()
d146350 add indicates whether the database driver supports multiple partition databases. |
boolean |
supportsSelectForUpdate()
Sets a flag indicating the database support of 'select for update'. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DataStoreHelperMetaData()
Create a new DataStoreHelperMetaData instance with all the default values. The default values are:
defaultTransactionIsolation = java.sql.Connection.TRANSACTION_READ_COMMITTED;Method Detail |
public final int getHelperType()
public final void setHelperType(int hType)
hType
- HType should be on of the following which are defined in DataStoreHelper: public final int getDatabaseDefaultIsolationLevel()
public final void setDatabaseDefaultIsolationLevel(int level)
level
- the isolation level.public final void setExtendedForUpdateSupport(boolean flag)
flag
- indicates whether the database supports extended-for-update.public final boolean supportsExtendedForUpdate()
public final void setKerberosSupport(boolean flag)
flag
- indicates whether the database supports kerberos.public final boolean supportsKerberos()
public final void setSelectForUpdateSupport(boolean flag)
flag
- indicates whether the database supports 'select for update'.public final boolean supportsSelectForUpdate()
flag
- indicates whether the database supports 'select for update'.public final void setGetCatalogSupport(boolean flag)
flag
- indicates whether the database supports 'select for update'.public final boolean supportsGetCatalog()
flag
- indicates whether the database supports 'select for update'.public final void setGetTypeMapSupport(boolean flag)
flag
- indicates whether the database supports 'getTypeMap'.public final boolean supportsGetTypeMap()
public final void setReadOnlySupport(boolean flag)
flag
- indicates whether the database supports ReadOnly access.public final boolean supportsIsReadOnly()
public final void setMultiplePartitionDBSupport(boolean flag)
flag
- indicates whether the database supports multiple partitionDB.public final boolean supportsMultiplePartitionDB()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |