public interface JdbcConnectionFactory
Modifier and Type | Method and Description |
---|---|
default void |
close() |
default void |
closeConnection(Connection connection) |
Connection |
createConnection() |
static JdbcConnectionFactory |
wrap(Connection connection) |
static JdbcConnectionFactory |
wrap(DataSource dataSource) |
static JdbcConnectionFactory |
wrap(DataSource dataSource,
String username,
String password) |
static JdbcConnectionFactory |
wrap(String driverClassName,
String url,
Properties properties,
String username,
String password) |
static JdbcConnectionFactory |
wrap(String driverClassName,
String url,
String username,
String password) |
Connection createConnection() throws SQLException
SQLException
default void closeConnection(Connection connection) throws SQLException
SQLException
default void close()
static JdbcConnectionFactory wrap(Connection connection)
static JdbcConnectionFactory wrap(DataSource dataSource)
static JdbcConnectionFactory wrap(DataSource dataSource, String username, String password)
static JdbcConnectionFactory wrap(String driverClassName, String url, String username, String password)
static JdbcConnectionFactory wrap(String driverClassName, String url, Properties properties, String username, String password)
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.