一、.JPA 获取 Hibernate的session 二、TransactionSynchronizationManager.getResource() 三、TransactionSynchronizationUtils.unwrapResourceIfNecessary(key) 四、Scope Read More
posted @ 2017-01-23 15:21
等风来。。
Views(7953)
Comments(0)
Diggs(0)
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(1590)
Comments(0)
Diggs(0)
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(225)
Comments(0)
Diggs(0)