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()
Get connection.
|
void |
prepare()
method must be idempotent.
|
void prepare()
method must be idempotent.
Connection getConnection()
Get connection.
void cleanup()
called once when the system is shutting down, should be idempotent.
Copyright © 2022 The Apache Software Foundation. All rights reserved.