public class SQLBase extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Connection |
possibleOpenConnection |
protected SQLAccess |
sqlAccess |
| Constructor and Description |
|---|
SQLBase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
close(Statement statement,
ResultSet rs) |
void |
closeConnection() |
void |
commitTransaction() |
PreparedStatement |
createPreparedStatement(String sql) |
Statement |
createStatement() |
String |
insertEscpaeCharacters(String original) |
void |
rollbackTransaction() |
void |
startTransaction() |
protected SQLAccess sqlAccess
protected Connection possibleOpenConnection
public SQLBase()
throws BridgeDBException
BridgeDBExceptionpublic void closeConnection()
public final Statement createStatement() throws BridgeDBException
BridgeDBExceptionpublic final PreparedStatement createPreparedStatement(String sql) throws BridgeDBException
BridgeDBExceptionpublic final void startTransaction()
throws BridgeDBException
BridgeDBExceptionpublic final void commitTransaction()
throws BridgeDBException
BridgeDBExceptionpublic final void rollbackTransaction()
throws BridgeDBException
BridgeDBExceptionCopyright © 2006–2020 BridgeDb project. All rights reserved.