public class CoStoSysConnection extends Object implements AutoCloseable
| Constructor and Description |
|---|
CoStoSysConnection(DataBaseConnector dbc,
Connection connection,
boolean newlyReserved) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
commit() |
Statement |
createStatement() |
boolean |
getAutoCommit() |
Connection |
getConnection() |
DatabaseMetaData |
getMetaData() |
void |
incrementUsageNumber() |
PreparedStatement |
prepareStatement(String sql) |
void |
release() |
void |
setAutoCommit(boolean b) |
public CoStoSysConnection(DataBaseConnector dbc, Connection connection, boolean newlyReserved)
public void incrementUsageNumber()
public void release()
throws SQLException
SQLExceptionpublic Connection getConnection()
public void close()
close in interface AutoCloseablepublic Statement createStatement() throws SQLException
SQLExceptionpublic PreparedStatement prepareStatement(String sql) throws SQLException
SQLExceptionpublic void commit()
throws SQLException
SQLExceptionpublic DatabaseMetaData getMetaData() throws SQLException
SQLExceptionpublic boolean getAutoCommit()
throws SQLException
SQLExceptionpublic void setAutoCommit(boolean b)
throws SQLException
SQLExceptionCopyright © 2018 JULIE Lab, Germany. All rights reserved.