All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----bank.storage.JdbcSession
protected String dbLocation
protected String driverKind
protected Connection connection
protected Statement statement
protected PreparedStatement preparedStatement
protected ResultSet resultSet
protected boolean isAutoCommit
protected boolean isVerbose
public JdbcSession()
public JdbcSession(String dbUrl)
public JdbcSession(String driverKind, String dbLocation)
public void beAutoCommit(boolean trueOrNot)
public void beVerbose(boolean trueOrNot)
public void commit() throws SQLException
public void end()
public ResultSet executeQuery() throws SQLException
public ResultSet executeQuery(String query) throws SQLException
public int executeUpdate() throws SQLException
public int executeUpdate(String query) throws SQLException
public void finalize() throws Throwable
public Connection getConnection()
public String getDbLocation()
public String getDriverKind()
public Statement getStatement()
protected void reportError(SQLException e)
public void rollback() throws SQLException
public void setDbLocation(String dbLocation)
public void setDriverKind(String driverKind)
public void start(String username, String passwd) throws SQLException
All Packages Class Hierarchy This Package Previous Next Index