public interface ConnectionHelper
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection()
Get a reference to the connection we are using.
|
void |
prepare(boolean needsAutoCommit)
Prepare the helper for use.
|
void |
release()
Release any resources held by this helper.
|
void prepare(boolean needsAutoCommit)
throws SQLException
needsAutoCommit - Should connection be forced to auto-commit
if not already.SQLExceptionConnection getConnection() throws SQLException
SQLExceptionvoid release()
throws SQLException
SQLExceptionCopyright © 2001-2017 Red Hat, Inc. All Rights Reserved.