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.SQLException
Connection getConnection() throws SQLException
SQLException
void release() throws SQLException
SQLException
Copyright © 2016 JBoss by Red Hat. All rights reserved.