com.isomorphic.hibernate

## Class SpringHB4Provider

- java.lang.Object
- - com.isomorphic.hibernate.SpringHB4Provider

- All Implemented Interfaces:
    HBProviderInterface

      public class SpringHB4Provider
      extends java.lang.Object
      implements HBProviderInterface

  HB provider for Spring with Hibernate 4 and earlier.

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

- - ### Field Summary

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

  - ### Method Summary

    - ### Methods inherited from interface com.isomorphic.hibernate.HBProviderInterface

      `commitTransaction, get, getSession, getTransaction, returnSession, rollbackTransaction`

- - ### Field Detail

    - #### CONFIG_BEAN

          public static final java.lang.String CONFIG_BEAN

      Name of sub property for Spring bean name for hibernate configuration.
      See Also:
        Constant Field Values

    - #### configBean

          protected java.lang.String configBean

      Holds Spring bean name.

    - #### configuration

          protected org.hibernate.cfg.Configuration configuration

      Holds `Configuration`.

    - #### factory

          protected org.hibernate.SessionFactory factory

      Holds `SessionFactory`.