public interface ConnectionFactory
| 限定符和类型 | 方法和说明 |
|---|---|
default void |
close(Connection connection) |
Connection |
getConnection() |
default Connection |
getConnection(String catalog,
String schema) |
Connection getConnection() throws SQLException
SQLExceptiondefault Connection getConnection(String catalog, String schema) throws SQLException
SQLExceptiondefault void close(Connection connection) throws SQLException
SQLExceptionCopyright © 2022. All rights reserved.