-
Language:
English
-
Language:
English
Red Hat Training
A Red Hat training course is available for Red Hat JBoss Data Virtualization
6.11. Releasing Connections
Connections are only used for the lifetime of the request. When the request completes, the
closeConnection()
method is called on the ExecutionFactory
. You must override this method to close the connection properly.
If the resource adapter is JEE JCA Connector based, connection pooling is automatically provided.
Note
Red Hat recommends the use of connection pooling when a connection is stateful or when connections are expensive to create.