Class HB6Provider

java.lang.Object
com.isomorphic.hibernate.HB6Provider
All Implemented Interfaces:
HBProviderInterface

public class HB6Provider extends Object implements HBProviderInterface
HB provider for Hibernate 5/6.

SessionFactory is created in initialization block and used to create Session objects.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Name of sub property for hibernate configuration file.
    protected org.hibernate.cfg.Configuration
    Holds Configuration.
    protected org.hibernate.SessionFactory
    Holds SessionFactory.
    protected org.hibernate.boot.Metadata
    Holds Metadata.
    protected org.hibernate.boot.MetadataSources
    Holds MetadataSources.
    protected org.hibernate.service.ServiceRegistry
    Holds ServiceRegistry.
    protected org.hibernate.type.spi.TypeConfiguration
    Holds TypeConfiguration.
  • Field Details

    • CONFIG

      public static final String CONFIG
      Name of sub property for hibernate configuration file.
      See Also:
    • configuration

      protected org.hibernate.cfg.Configuration configuration
      Holds Configuration.
    • factory

      protected org.hibernate.SessionFactory factory
      Holds SessionFactory.
    • serviceRegistry

      protected org.hibernate.service.ServiceRegistry serviceRegistry
      Holds ServiceRegistry.
    • metadataSources

      protected org.hibernate.boot.MetadataSources metadataSources
      Holds MetadataSources.
    • metadata

      protected org.hibernate.boot.Metadata metadata
      Holds Metadata.
    • typeConfiguration

      protected org.hibernate.type.spi.TypeConfiguration typeConfiguration
      Holds TypeConfiguration.