Package com.isomorphic.hibernate

# Class SpringHB6Provider

java.lang.Object
com.isomorphic.hibernate.SpringHB6Provider

All Implemented Interfaces:
  `HBProviderInterface`

public class SpringHB6Provider extends Object implements HBProviderInterface
HB provider for Spring with Hibernate 5/6.

`SessionFactory` is looked up in initialization block and used to create `Session` objects.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `CONFIG_BEAN`
  Name of sub property for Spring bean name for hibernate configuration.
  `protected String`
  `configBean`
  Holds Spring bean name.
  `protected org.hibernate.cfg.Configuration`
  `configuration`
  Holds `Configuration`.
  `protected org.hibernate.SessionFactory`
  `factory`
  Holds `SessionFactory`.

- ## Field Details

  - ### CONFIG_BEAN

    public static final String CONFIG_BEAN
    Name of sub property for Spring bean name for hibernate configuration.
    See Also:
      - Constant Field Values

  - ### configBean

    protected String configBean
    Holds Spring bean name.

  - ### configuration

    protected org.hibernate.cfg.Configuration configuration
    Holds `Configuration`.

  - ### factory

    protected org.hibernate.SessionFactory factory
    Holds `SessionFactory`.