Package org.apache.tapestry5.hibernate.internal

# Class DefaultHibernateConfigurer

java.lang.Object
org.apache.tapestry5.hibernate.internal.DefaultHibernateConfigurer

All Implemented Interfaces:
  `HibernateConfigurer`

public final class DefaultHibernateConfigurer extends Object implements HibernateConfigurer
Simply calls configure() to do the default Hibernate configuration. This will read the hibernate.cfg.xml file.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DefaultHibernateConfigurer(boolean defaultConfiguration)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `configure(org.hibernate.cfg.Configuration configuration)`
  Passed the configuration so as to make changes.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DefaultHibernateConfigurer

    public DefaultHibernateConfigurer(@Symbol("tapestry.hibernate.default-configuration") boolean defaultConfiguration)

- ## Method Details

  - ### configure

    public void configure(org.hibernate.cfg.Configuration configuration)
    Description copied from interface: `HibernateConfigurer`
    Passed the configuration so as to make changes.
    Specified by:
      `configure` in interface `HibernateConfigurer`