public interface ConnectionHelper
| Modifier and Type | Method and Description |
|---|---|
java.sql.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 java.sql.SQLException
needsAutoCommit - Should connection be forced to auto-commit
if not already.java.sql.SQLExceptionjava.sql.Connection getConnection()
throws java.sql.SQLException
java.sql.SQLExceptionvoid release()
throws java.sql.SQLException
java.sql.SQLExceptionCopyright © 2001-2013 Red Hat, Inc. All Rights Reserved.