一、.JPA 获取 Hibernate的session 二、TransactionSynchronizationManager.getResource() 三、TransactionSynchronizationUtils.unwrapResourceIfNecessary(key) 四、Scope Read More
posted @ 2017-01-23 15:21 等风来。。 Views(7869) Comments(0) Diggs(0) Edit
Join Transaction The EntityManager.joinTransaction() API allows an application managed EntityManager to join the active JTA transaction context. This Read More
posted @ 2017-01-23 14:00 等风来。。 Views(1545) Comments(0) Diggs(0) Edit
1.@PostConstruct VS init-method 1.1 both BeanPostProcessor 1.2 @PostConstruct is a JSR-250 annotation while init-method is Spring's way of having an i Read More
posted @ 2017-01-23 12:04 等风来。。 Views(219) Comments(0) Diggs(0) Edit
------------------------------------------------------------------------------------------------------------ --------------- 欢迎联系 x.guan.ling@gmail.com--------------- ------------------------------------------------------------------------------------------------------------