planetj.database.connection
Class AS400DataEngineConnection

java.lang.Object
  extended byplanetj.database.connection.DataEngineConnection
      extended byplanetj.database.connection.AS400DataEngineConnection
All Implemented Interfaces:
java.sql.Connection

public class AS400DataEngineConnection
extends DataEngineConnection


Field Summary
 
Fields inherited from interface java.sql.Connection
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
 
Constructor Summary
AS400DataEngineConnection(java.lang.String alias, java.sql.Connection trueConnection)
           
AS400DataEngineConnection(java.lang.String alias, java.sql.Connection trueConnection, DataEngineConnectionPool pool, int conn_id)
           
 
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
protected  void setLibraryList(java.lang.String libraryList)
          Sets the current library list for this connection.
 
Methods inherited from class planetj.database.connection.DataEngineConnection
clearWarnings, close, commit, createStatement, createStatement, createStatement, disable, fireEvent, getAlias, getAutoCommit, getCatalog, getConnectionID, getConnectionPoolAlias, getHoldability, getLastUsed, getLibraryList, getMetaData, getPreparedStatementCount, getPreparedStatements, getProxiedConnection, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, queryExecuted, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setHoldability, setLastUsed, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap, shutDown, statementExecuted, toString, updateExecuted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 -
Method Detail

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.


setLibraryList

protected void setLibraryList(java.lang.String libraryList)
Description copied from class: DataEngineConnection
Sets the current library list for this connection.

Overrides:
setLibraryList in class DataEngineConnection