public interface DbService
Modifier and Type | Method and Description |
---|---|
void |
close(Connection conn)
Releases a previously acquired JDCB connection to the DbService.
|
void |
close(ResultSet... rss)
Utility method to silently close a JDBC ResultSet without throwing SQLExcepton.
|
void |
close(Statement... stmts)
Utility method to silently close a JDBC Statement without throwing SQLExcepton.
|
Connection |
getConnection()
Returns the JDBC Connection to be used to communicate with the embedded SQL database.
|
void |
rollback(Connection conn)
Utility method to silently rollback a JDBC Connection without throwing SQLExcepton.
|
Connection getConnection() throws SQLException
SQLException
void close(Connection conn)
conn
- to be releasedvoid rollback(Connection conn)
void close(ResultSet... rss)
void close(Statement... stmts)
Copyright © 2014. All Rights Reserved.