org.apache.tapestry5.internal.hibernate

## Class DefaultHibernateConfigurer

- java.lang.Object
- - org.apache.tapestry5.internal.hibernate.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 and Description
    `DefaultHibernateConfigurer(boolean defaultConfiguration)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### DefaultHibernateConfigurer

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

  - ### Method Detail

    - #### 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`

${project.version} - Copyright © 2003-2015 The Apache Software Foundation.