Interface ValueGenerationConnectionProvider
-
public interface ValueGenerationConnectionProvider
Connection provider for a ValueGenerator that requires connections to their datastore.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
releaseConnection()
Releases the Connection.ManagedConnection
retrieveConnection()
Provides a Connection for a ValueGenerator.
-
-
-
Method Detail
-
retrieveConnection
ManagedConnection retrieveConnection()
Provides a Connection for a ValueGenerator. The returned connection should be cast to the appropriate type for the datastore.- Returns:
- The connection
-
releaseConnection
void releaseConnection()
Releases the Connection. Inform to the provider that connection is no longer in use.
-
-