@FunctionalInterface public interface ConnectionProvider
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection()
Returns a connection, ready for use.
|
Connection getConnection() throws SQLException
SQLException
- when an error occurs obtaining the connectionCopyright © 2010–2019. All rights reserved.