Class MicronautSessionContext
java.lang.Object
io.micronaut.transaction.hibernate.MicronautSessionContext
io.micronaut.transaction.hibernate6.MicronautSessionContext
- All Implemented Interfaces:
Serializable
,org.hibernate.context.spi.CurrentSessionContext
Deprecated.
The class name should be corrected in SQL module and this file should be deleted.
- Since:
- 4.0.0
- Author:
- Denis Stepanov
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMicronautSessionContext
(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory) Deprecated.Create a new SpringSessionContext for the given Hibernate SessionFactory. -
Method Summary
Methods inherited from class io.micronaut.transaction.hibernate.MicronautSessionContext
currentSession
-
Constructor Details
-
MicronautSessionContext
public MicronautSessionContext(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory) Deprecated.Create a new SpringSessionContext for the given Hibernate SessionFactory.- Parameters:
sessionFactory
- the SessionFactory to provide current Sessions for
-
MicronautSessionContext