public interface ConnectionProvider extends Serializable
Provides a database connection.
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
called once when the system is shutting down, should be idempotent.
|
Connection |
getConnection() |
void |
prepare()
method must be idempotent.
|
void prepare()
method must be idempotent.
Connection getConnection()
void cleanup()
called once when the system is shutting down, should be idempotent.
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.