接口的使用
org.springframework.orm.hibernate5.HibernateCallback
使用HibernateCallback的程序包 程序包 说明 org.springframework.orm.hibernate5 Package providing integration of Hibernate 5.x with Spring concepts.org.springframework.orm.hibernate5中HibernateCallback的使用
参数类型为HibernateCallback的org.springframework.orm.hibernate5中的方法 修饰符和类型 方法 说明 protected <T> T
HibernateTemplate. doExecute(HibernateCallback<T> action, boolean enforceNativeSession)
Execute the action specified by the given action object within a Session.<T> T
HibernateOperations. execute(HibernateCallback<T> action)
Execute the action specified by the given action object within aSession
.<T> T
HibernateTemplate. execute(HibernateCallback<T> action)
<T> T
HibernateTemplate. executeWithNativeSession(HibernateCallback<T> action)
Execute the action specified by the given action object within a nativeSession
.