Method Summary |
|
protected synchronized int | addCachedStatement(String statementId, PreparedStatement statementToCache) |
protected synchronized int | addCachedStatement(String statementId, Statement statementToCache) |
public void | beginTran() |
public void | clearStatementCache() |
protected void | closeResults() |
public void | commitTran() |
protected void | createStatement() |
public int | execute(String sql) |
public int | execute(String sql, Collection params) |
public int[] | executeBatch(String sql, Collection batch) |
public int[] | executeBatch(Collection batch) |
public List | executeStoredProcedure(String sql, Parameters params, int proccessResult) |
public String | getCachedRowSetClassName() |
public int | getConcurrency() Getter for property concurrency. |
public java.sql.Connection | getConnection() Getter for property connection. |
public java.lang.String | getConnectionId() Getter for property connectionId. |
public java.util.Properties | getConnectionProperties() Getter for property connectionProperties. |
public javax.naming.Context | getContext() Getter for property context. |
public String | getCursorName() |
public javax.sql.DataSource | getDataSource() Getter for property dataSource. |
public java.lang.String | getDataSourceName() Getter for property dataSourceName. |
public Object | getEJBContext() |
public boolean | getEscapeProcessing() Getter for property escapeProcessing. |
public int | getFetchDirection() Getter for property fetchDirection. |
public int | getFetchSize() Getter for property fetchSize. |
public int | getMaxFieldSize() Getter for property maxFieldSize. |
public int | getMaxNumberOfParams() |
public int | getMaxRows() Getter for property maxRows. |
public int | getMaxRowsToProccesInTransaction() Getter for property maxRowsToProccesInTransaction. |
public int | getMaxStatementCacheSize() |
public java.lang.String | getPlaceHolder() |
public PreparedStatement | getPreparedStatement(String sql, Collection params) Getter for property preparedStatement. |
public char | getProccessTransactionOnCloseConnection() |
public int | getQueryTimeout() Getter for property queryTimeout. |
public DataHolder[] | getResultAsDataHoldersArray(String sql, Collection params, boolean populateColumnNames) |
public DataHolder[] | getResultAsDataHoldersArray(String sql, boolean populateColumnNames) |
public DataHolder[] | getResultAsDataHoldersArray(String sql) |
public DataHolder[] | getResultAsDataHoldersArray(String sql, Collection params) |
public List | getResultAsDataHoldersList(String sql, Collection params, boolean populateColumnNames) |
public List | getResultAsDataHoldersList(String sql, boolean populateColumnNames) |
public List | getResultAsDataHoldersList(String sql) |
public List | getResultAsDataHoldersList(String sql, Collection params) |
public Map | getResultAsMap(String sql, Collection params) Map of Lists. |
public Map | getResultAsMap(String sql) Map of Lists. |
public List | getResultAsValueObjectList(String sql) |
public List | getResultAsValueObjectList(String sql, Collection params) |
public Vector | getResultAsVector(String sql) |
public Vector | getResultAsVector(String sql, Collection params) |
public java.sql.ResultSet | getResultSet(String sql) Getter for property resultSet. |
public java.sql.ResultSet | getResultSet(String sql, Collection params) |
public int | getResultSetType() Getter for property resultSetType. |
public java.sql.ResultSet[] | getResultSets(String sql, Collection params, int maxNumberOfParams, String placeHolder) |
public java.sql.ResultSet[] | getResultSets(String sql, Collection params) |
public DataHolder[] | getResultsAsDataHoldersArray(String sql, Collection params) |
public DataHolder[] | getResultsAsDataHoldersArray(String sql, Collection params, boolean populateColumnNames) |
public DataHolder[] | getResultsAsDataHoldersArray(String sql, Collection params, int maxNumberOfParams, String placeHolder) |
public DataHolder[] | getResultsAsDataHoldersArray(String sql, Collection params, int maxNumberOfParams, String placeHolder, boolean populateColumnNames) |
public List | getResultsAsDataHoldersList(String sql, Collection params) |
public List | getResultsAsDataHoldersList(String sql, Collection params, int maxNumberOfParams, String placeHolder) |
public List | getResultsAsDataHoldersList(String sql, Collection params, int maxNumberOfParams, String placeHolder, boolean populateColumnNames) |
public List | getResultsAsDataHoldersList(String sql, Collection params, boolean populateColumnNames) |
public Map | getResultsAsMap(String sql, Collection params) Map of Lists. |
public Map | getResultsAsMap(String sql, Collection params, int maxNumberOfParams, String placeHolder) Map of Lists. |
public List | getResultsAsValueObjectList(String sql, Collection params, int maxNumberOfParams, String placeHolder) |
public List | getResultsAsValueObjectList(String sql, List params) |
public Vector | getResultsAsVector(String sql, Collection params, int maxNumberOfParams, String placeHolder) |
public Vector | getResultsAsVector(String sql, Collection params) |
public int | getRowsAffectedInTransaction() Getter for property rowsAffectedInTransaction. |
public List | getSingleColumnResultAsList(String sql) |
public List | getSingleColumnResultAsList(String sql, Collection params) |
public List | getSingleColumnResultsAsList(String sql, Collection params, int maxNumberOfParams, String placeHolder) |
public List | getSingleColumnResultsAsList(String sql, List params) |
public Object | getSingleValue(String sql) |
public Object | getSingleValue(String sql, Collection params) |
public java.sql.Statement | getStatement(String sql) Getter for property statement. |
public Map | getTwoColumnsResultAsMap(String sql) |
public Map | getTwoColumnsResultAsMap(String sql, Collection params) |
public Map | getTwoColumnsResultsAsMap(String sql, Collection params, int maxNumberOfParams, String placeHolder) |
public Map | getTwoColumnsResultsAsMap(String sql, List params) |
public List | getWarnings() |
public boolean | isCacheStatements() |
public boolean | isCloseResultSet() |
public boolean | isCloseStatementAfterExecute() Getter for property closeStatementAfterExecute. |
public boolean | isConnectionClosed() Getter for property connectionClosed. |
public boolean | isDebug() Getter for property debug. |
public boolean | isProccessWarnings() |
public boolean | isResetDataSource() Getter for property resetDataSource. |
public boolean | isTranInProccess() Getter for property tranInProccess. |
public void | populateWarnings(SQLWarning warn) |
protected void | prepareStatement(String sql) |
public void | release(boolean closeConnection) |
public void | rollbackTran() |
public void | setCacheStatements(boolean cacheStatements) |
public void | setCachedRowSetClassName(String cachedRowSetClassName) |
public void | setCloseResultSet(boolean closeResultSet) |
public void | setCloseStatementAfterExecute(boolean closeStatementAfterExecute) Setter for property closeStatementAfterExecute. |
public void | setConcurrency(int concurrency) Setter for property concurrency. |
public void | setConnection(java.sql.Connection connection) Setter for property connection. |
protected void | setConnectionClosed(boolean connectionClosed) Setter for property connectionClosed. |
public void | setConnectionId(java.lang.String connectionId) Setter for property connectionId. |
public void | setConnectionProperties(java.util.Properties connectionProperties) Setter for property connectionProperties. |
public void | setContext(javax.naming.Context context) Setter for property context. |
public void | setCursorName(String cursorName) |
public void | setDataSource(javax.sql.DataSource dataSource) Setter for property dataSource. |
public void | setDataSourceName(java.lang.String dataSourceName) Setter for property dataSourceName. |
public void | setDebug(boolean debug) Setter for property debug. |
public void | setEJBContext(Object EJBContext) |
public void | setEscapeProcessing(boolean escapeProcessing) Setter for property escapeProcessing. |
public void | setFetchDirection(int fetchDirection) Setter for property fetchDirection. |
public void | setFetchSize(int fetchSize) Setter for property fetchSize. |
public void | setMaxFieldSize(int maxFieldSize) Setter for property maxFieldSize. |
public void | setMaxNumberOfParams(int maxNumberOfParams) |
public void | setMaxRows(int maxRows) Setter for property maxRows. |
public void | setMaxRowsToProccesInTransaction(int maxRowsToProccesInTransaction) Setter for property maxRowsToProccesInTransaction. |
public void | setMaxStatementCacheSize(int maxStatementCacheSize) |
public void | setPlaceHolder(java.lang.String placeHolder) |
public void | setPreparedStatement(java.sql.PreparedStatement preparedStatement) Setter for property preparedStatement. |
public void | setProccessTransactionOnCloseConnection(char proccessTransactionOnCloseConnection) |
public void | setProccessWarnings(boolean proccessWarnings) |
public void | setQueryTimeout(int queryTimeout) Setter for property queryTimeout. |
public void | setResetDataSource(boolean resetDataSource) Setter for property resetDataSource. |
public void | setResultSet(java.sql.ResultSet resultSet) Setter for property resultSet. |
public void | setResultSetType(int resultSetType) Setter for property resultSetType. |
public void | setRowsAffectedInTransaction(int rowsAffectedInTransaction) Setter for property rowsAffectedInTransaction. |
public void | setStatement(java.sql.Statement statement) Setter for property statement. |
public void | setTranInProccess(boolean tranInProccess) Setter for property tranInProccess. |