Class SpringHibernateCurrentSessionContextClassProvider

java.lang.Object
io.micronaut.data.spring.jpa.hibernate.SpringHibernateCurrentSessionContextClassProvider
All Implemented Interfaces:
io.micronaut.configuration.hibernate.jpa.HibernateCurrentSessionContextClassProvider

@Singleton public class SpringHibernateCurrentSessionContextClassProvider extends Object implements io.micronaut.configuration.hibernate.jpa.HibernateCurrentSessionContextClassProvider
Spring integration implementation of HibernateCurrentSessionContextClassProvider.
Since:
3.3.2
Author:
Denis Stepanov
  • Constructor Details

    • SpringHibernateCurrentSessionContextClassProvider

      public SpringHibernateCurrentSessionContextClassProvider()
  • Method Details

    • get

      public Class<? extends org.hibernate.context.spi.CurrentSessionContext> get()
      Specified by:
      get in interface io.micronaut.configuration.hibernate.jpa.HibernateCurrentSessionContextClassProvider
      Returns:
      SpringSessionContext