NonStop Server for Java (NSJ) Programmer's Guide (NSJ 2.0+)
getTransactionIsolation(), which always returns TRANSACTION_READ_COMMITTED●
getWarnings()●
isClosed()●
isReadOnly()●
nativeSQL()●
nativeSQL(String str), which returns a translated statement; that is, any long-name macros in the original
statement are translated to the appropriate Guardian names
●
prepareStatement(String)
prepareStatement(String sql, int resultSetType, int resultSetConcurrency)
●
rollback()●
setAutoCommit(boolean)●
setCatalog()●
setCatalog(String str), which can accept a long-name macro indicating the catalog to select●
The SQL/MP drivers do not support the following SQLMPConnection methods:
prepareCall()●
setReadOnly()●
setTransactionIsolation(int)●
The transaction-aware driver throws a SQLMPException if any of the following methods are called:
commit()●
rollback()●
setAutoCommit(true)●
setTransactionIsolation()●
The transaction-aware driver always returns TRANSACTION_NONE in response to a call to
getTransactionIsolation().
SQLMPDatabaseMetaData
SQLMPDatabaseMetaData provides information about an SQL/MP database.
The SQL/MP drivers support all of the SQLMPDatabaseMetaData methods except the following:
getBestRowIdentifier()●
getColumnPrivileges()●
getCrossReference()●
getExportedKeys()●
getImportedKeys()●
getProcedureColumns()●
getProcedures()●
getSchemas()●
getTablePrivileges()●
getVersionColumns()●
SQLMPDataSource
A DataSource object is a factory for Connection objects. A SQLMPDataSource object is typically registered with a
JNDI service provider. A JDBC driver that is accessed by means of the DataSource API does not automatically
register itself with the DriverManager. NonStop
TM
Server for Java creates the SQLMPDataSource class that