易百教程

348、JDBC Connection接口的作用是什么?

Connection 接口维护与数据库的会话。它可以用于事务管理。它提供了返回 StatementPreparedStatementCallableStatementDatabaseMetaData 实例的工厂方法。