一、.JPA 获取 Hibernate的session 二、TransactionSynchronizationManager.getResource() 三、TransactionSynchronizationUtils.unwrapResourceIfNecessary(key) 四、Scope Read More
Join Transaction The EntityManager.joinTransaction() API allows an application managed EntityManager to join the active JTA transaction context. This Read More
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