Deprecated
Everything in this package has been replaced with
org. and friends.
ConnectionHelper implementation based on an internally
built and managed ConnectionProvider.
| Modifier and Type | Field and Description |
|---|---|
| private Properties | |
| private Connection | |
| private StandardServiceRegistryImpl |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static StandardServiceRegistryImpl | |
| public Connection | getConnection()
Implements org. |
| public void | prepare(boolean
Should connection be forced to auto-commit
if not already. needsAutoCommit)Implements org. |
| public void | release()
Implements org. |
| private void | |
| private void |
| cfgProperties | back to summary |
|---|---|
| private Properties cfgProperties | |
| connection | back to summary |
|---|---|
| private Connection connection | |
| serviceRegistry | back to summary |
|---|---|
| private StandardServiceRegistryImpl serviceRegistry | |
| ManagedProviderConnectionHelper | back to summary |
|---|---|
| public ManagedProviderConnectionHelper(Properties cfgProperties) | |
| createServiceRegistry | back to summary |
|---|---|
| private static StandardServiceRegistryImpl createServiceRegistry(Properties properties) | |
| getConnection | back to summary |
|---|---|
| public Connection getConnection() throws SQLException Implements org. Doc from org. Get a reference to the connection we are using.
| |
| prepare | back to summary |
|---|---|
| public void prepare(boolean needsAutoCommit) throws SQLException Implements org. Doc from org. Prepare the helper for use.
| |
| release | back to summary |
|---|---|
| public void release() throws SQLException Implements org. Doc from org. Release any resources held by this helper. | |
| releaseConnection | back to summary |
|---|---|
| private void releaseConnection() throws SQLException | |
| releaseServiceRegistry | back to summary |
|---|---|
| private void releaseServiceRegistry() | |