public interface JDBCConnectionPool extends Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroys the connection pool: close() is called an all the connections in
the pool, whether available or reserved.
|
void |
releaseConnection(Connection conn)
Releases a connection that was retrieved earlier.
|
Connection |
reserveConnection()
Retrieves a connection.
|
Connection reserveConnection() throws SQLException
SQLExceptionvoid releaseConnection(Connection conn)
conn - Connection to be releasedvoid destroy()
Copyright © 2022 Vaadin Ltd. All rights reserved.