public final class LuteceConnectionFactory extends Object
Modifier and Type | Method and Description |
---|---|
static LuteceConnection |
newInstance(ConnectionPool pool,
Connection connection)
Builds a new proxied instance of the connection so we can use
ConnectionPool with third party libraries. |
public static LuteceConnection newInstance(ConnectionPool pool, Connection connection)
ConnectionPool
with third party libraries.pool
- the connection pool to use when closing connectionconnection
- the actual connectionLuteceConnection
Copyright © 2020 City of Paris. All rights reserved.