接口的使用
org.springframework.jdbc.core.ConnectionCallback
使用ConnectionCallback的程序包 程序包 说明 org.springframework.jdbc.core Provides the core JDBC framework, based on JdbcTemplate and its associated callback interfaces and helper objects.org.springframework.jdbc.core中ConnectionCallback的使用
参数类型为ConnectionCallback的org.springframework.jdbc.core中的方法 修饰符和类型 方法 说明 <T> T
JdbcOperations. execute(ConnectionCallback<T> action)
Execute a JDBC data access operation, implemented as callback action working on a JDBC Connection.<T> T
JdbcTemplate. execute(ConnectionCallback<T> action)