planetj.database.connection
Class AS400DataEngineConnection
java.lang.Object
planetj.database.connection.DataEngineConnection
planetj.database.connection.AS400DataEngineConnection
- All Implemented Interfaces:
- java.sql.Connection
- public class AS400DataEngineConnection
- extends DataEngineConnection
Fields inherited from interface java.sql.Connection |
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE |
Method Summary |
com.ibm.as400.access.AS400 |
getAS400()
Get the AS400 object used by the connection. |
java.lang.String |
getServerJobIdentifier()
Get the server job identifier String. |
boolean |
isLibraryListSupported()
Check to see if this connection supports library lists. |
boolean |
runAS400Command(java.lang.String cmdString)
Run the given CL command against this connection's system |
Methods inherited from class planetj.database.connection.DataEngineConnection |
clearWarnings, close, commit, createStatement, createStatement, createStatement, fireEvent, getAlias, getAutoCommit, getCatalog, getConnectionID, getConnectionPoolAlias, getHoldability, getLastUsed, getLibraryList, getMetaData, getPreparedStatementCount, getPreparedStatements, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, queryExecuted, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap, shutDown, statementExecuted, toString, updateExecuted |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AS400DataEngineConnection
public AS400DataEngineConnection(java.lang.String alias,
java.sql.Connection trueConnection)
throws DataEngineException
- Parameters:
alias
- trueConnection
-
- Throws:
DataEngineException
AS400DataEngineConnection
public AS400DataEngineConnection(java.lang.String alias,
java.sql.Connection trueConnection,
DataEngineConnectionPool pool,
int conn_id)
- Parameters:
alias
- trueConnection
- pool
- conn_id
-
isLibraryListSupported
public boolean isLibraryListSupported()
- Description copied from class:
DataEngineConnection
- Check to see if this connection supports library lists.
- Overrides:
isLibraryListSupported
in class DataEngineConnection
runAS400Command
public boolean runAS400Command(java.lang.String cmdString)
- Run the given CL command against this connection's system
- Returns:
- true if CL command ran successful; false otherwise
getAS400
public com.ibm.as400.access.AS400 getAS400()
- Get the AS400 object used by the connection.
getServerJobIdentifier
public java.lang.String getServerJobIdentifier()
- Get the server job identifier String.