public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { /**@todo Implement this java.sql.Connection method*/ //throw new java.lang.UnsupportedOperationException("Method prepareCall() not yet implemented."); return aCon.prepareCall(sql, resultSetType, resultSetConcurrency, resultSetHoldability); }
public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException { /**@todo Implement this java.sql.Connection method*/ //throw new java.lang.UnsupportedOperationException("Method prepareStatement() not yet implemented."); return aCon.prepareStatement(sql, autoGeneratedKeys); }
public PreparedStatement prepareStatement(String sql, int[] columnIndexes) throws SQLException { /**@todo Implement this java.sql.Connection method*/ // throw new java.lang.UnsupportedOperationException("Method prepareStatement() not yet implemented."); return aCon.prepareStatement(sql, columnIndexes); }
public PreparedStatement prepareStatement(String sql, String[] columnNames) throws SQLException { /**@todo Implement this java.sql.Connection method*/ //throw new java.lang.UnsupportedOperationException("Method prepareStatement() not yet implemented."); return aCon.prepareStatement(sql, columnNames); }
public void closeConnection() throws SQLException { if (onClose != null) { onClose.Action(this); } aCon.close();
}
public boolean isUsed() { return inUse;
}
public void use() { inUse = true; }
public void setOnClose(OnConnectionClose Action) { onClose = Action;