Interface ValueGenerationConnectionProvider
public interface ValueGenerationConnectionProvider
Connection provider for a ValueGenerator that requires connections to their datastore.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Releases the Connection.Provides a Connection for a ValueGenerator.
-
Method Details
-
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.
-