|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ims.rds.ClientConnection
Fields inherited from interface java.sql.Connection |
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE |
Constructor Summary | |
ClientConnection(com.ibm.ims.rds.ClientManagedConnection managedConnection,
boolean isManagedServer)
Creates a connection with a DL/I database. |
Method Summary | |
void |
clearWarnings()
|
void |
close()
Closes the connection |
void |
commit()
This function is supported for Bean Managed EJBs only. |
java.sql.Statement |
createStatement()
Implements the Connection.createStatement() method returning
a ClientStatement object as its parent class Statement . |
java.sql.Statement |
createStatement(int resultSetType,
int resultSetConcurrency)
Implements the Connection.createStatement() method returning
a ClientStatement object as its parent class Statement . |
boolean |
getAutoCommit()
|
java.lang.String |
getCatalog()
This function is not supported |
java.sql.DatabaseMetaData |
getMetaData()
This function is not supported |
int |
getTransactionIsolation()
|
java.util.Map |
getTypeMap()
This function is not supported |
java.sql.SQLWarning |
getWarnings()
|
boolean |
isClosed()
|
boolean |
isReadOnly()
|
java.lang.String |
nativeSQL(java.lang.String sql)
|
java.sql.CallableStatement |
prepareCall(java.lang.String sql)
This function is not supported |
java.sql.CallableStatement |
prepareCall(java.lang.String sql,
int resultSetType,
int resultSetConcurrency)
This function is not supported |
java.sql.PreparedStatement |
prepareStatement(java.lang.String sql)
Implements the Connection.prepareStatement() method returning
a DLIPreparedStatement object as its parent class
PreparedStatement
Result sets created using the returned PreparedStatement will have
forward-only type and read-only concurrency, by default. |
java.sql.PreparedStatement |
prepareStatement(java.lang.String sql,
int resultSetType,
int resultSetConcurrency)
Implements the Connection.prepareStatement() method returning
a DLIPreparedStatement object as its parent class
PreparedStatement
Result sets created using the returned PreparedStatement will have
forward-only type and read-only concurrency, by default. |
void |
rollback()
This function is supported for Bean Managed EJBs only. |
void |
setAutoCommit(boolean autoCommit)
This function does not support setting autoCommit to true |
void |
setCatalog(java.lang.String catalog)
This function is not supported |
void |
setReadOnly(boolean readOnly)
|
void |
setTransactionIsolation(int level)
|
void |
setTypeMap(java.util.Map map)
This function is not supported |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ClientConnection(com.ibm.ims.rds.ClientManagedConnection managedConnection, boolean isManagedServer)
Method Detail |
public java.sql.Statement createStatement() throws java.sql.SQLException
Connection.createStatement()
method returning
a ClientStatement
object as its parent class Statement
.
Result sets created using the returned Statement
object will by default have forward-only type and read-only concurrency.createStatement
in interface java.sql.Connection
java.sql.SQLException
- if a database access error occurspublic java.sql.PreparedStatement prepareStatement(java.lang.String sql) throws java.sql.SQLException
Connection.prepareStatement()
method returning
a DLIPreparedStatement
object as its parent class
PreparedStatement
Result sets created using the returned PreparedStatement will have
forward-only type and read-only concurrency, by default.prepareStatement
in interface java.sql.Connection
sql
- a SQL statement that may contain one or more '?' IN parameter placeholdersjava.sql.SQLException
- if a database access error occurspublic java.sql.CallableStatement prepareCall(java.lang.String sql) throws java.sql.SQLException
prepareCall
in interface java.sql.Connection
public java.lang.String nativeSQL(java.lang.String sql) throws java.sql.SQLException
nativeSQL
in interface java.sql.Connection
public void setAutoCommit(boolean autoCommit) throws java.sql.SQLException
setAutoCommit
in interface java.sql.Connection
public boolean getAutoCommit() throws java.sql.SQLException
getAutoCommit
in interface java.sql.Connection
public void commit() throws java.sql.SQLException
commit
in interface java.sql.Connection
public void rollback() throws java.sql.SQLException
rollback
in interface java.sql.Connection
public void close() throws java.sql.SQLException
close
in interface java.sql.Connection
public boolean isClosed() throws java.sql.SQLException
isClosed
in interface java.sql.Connection
public java.sql.DatabaseMetaData getMetaData() throws java.sql.SQLException
getMetaData
in interface java.sql.Connection
public void setReadOnly(boolean readOnly) throws java.sql.SQLException
setReadOnly
in interface java.sql.Connection
public boolean isReadOnly() throws java.sql.SQLException
isReadOnly
in interface java.sql.Connection
public void setCatalog(java.lang.String catalog) throws java.sql.SQLException
setCatalog
in interface java.sql.Connection
public java.lang.String getCatalog() throws java.sql.SQLException
getCatalog
in interface java.sql.Connection
public void setTransactionIsolation(int level) throws java.sql.SQLException
setTransactionIsolation
in interface java.sql.Connection
public int getTransactionIsolation() throws java.sql.SQLException
getTransactionIsolation
in interface java.sql.Connection
public java.sql.SQLWarning getWarnings() throws java.sql.SQLException
getWarnings
in interface java.sql.Connection
public void clearWarnings() throws java.sql.SQLException
clearWarnings
in interface java.sql.Connection
public java.sql.Statement createStatement(int resultSetType, int resultSetConcurrency) throws java.sql.SQLException
Connection.createStatement()
method returning
a ClientStatement
object as its parent class Statement
.createStatement
in interface java.sql.Connection
resultSetType
- a result set type; see ResultSet.TYPE_XXXresultSetConcurrency
- a concurrency type; see ResultSet.CONCUR_XXXjava.sql.SQLException
- if a database access error occurspublic java.sql.PreparedStatement prepareStatement(java.lang.String sql, int resultSetType, int resultSetConcurrency) throws java.sql.SQLException
Connection.prepareStatement()
method returning
a DLIPreparedStatement
object as its parent class
PreparedStatement
Result sets created using the returned PreparedStatement will have
forward-only type and read-only concurrency, by default.prepareStatement
in interface java.sql.Connection
sql
- a SQL statement that may contain one or more '?' IN parameter placeholdersresultSetType
- a result set type; see ResultSet.TYPE_XXXresultSetConcurrency
- a concurrency type; see ResultSet.CONCUR_XXXjava.sql.SQLException
- if a database access error occurspublic java.sql.CallableStatement prepareCall(java.lang.String sql, int resultSetType, int resultSetConcurrency) throws java.sql.SQLException
prepareCall
in interface java.sql.Connection
public java.util.Map getTypeMap() throws java.sql.SQLException
getTypeMap
in interface java.sql.Connection
public void setTypeMap(java.util.Map map) throws java.sql.SQLException
setTypeMap
in interface java.sql.Connection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |