org.beangle.data.orm.hibernate.spring
Type members
Classlikes
class BeangleSessionContext(val sessionFactory: SessionFactoryImplementor) extends CurrentSessionContext with Logging
@description("Beangle提供的Hibernate事务管理器")
class HibernateTransactionManager(val sessionFactory: SessionFactory) extends AbstractPlatformTransactionManager with ResourceTransactionManager
Simplify HibernateTransactionManager in spring-orm bundle. Just add SessionUtils.isEnableThreadBinding() support in doGetTranscation
Simplify HibernateTransactionManager in spring-orm bundle. Just add SessionUtils.isEnableThreadBinding() support in doGetTranscation
-
disable hibernateManagedSession.
-
enable connectionPrepared
-
disable holdabilityNeeded
@description("构建Hibernate的会话工厂")
class LocalSessionFactoryBean(val dataSource: DataSource) extends Factory[SessionFactory] with Initializing
class SessionSynchronization(val sessionHolder: SessionHolder, val sessionFactory: SessionFactory, val newSession: Boolean) extends TransactionSynchronization with Ordered
Borrow from Spring Session Synchronization
Borrow from Spring Session Synchronization