Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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 java.lang.Object
implements HibernateConfigurer

Simply calls configure() to do the default Hibernate configuration. This will read the hibernate.cfg.xml file.

Constructor Summary
`DefaultHibernateConfigurer(boolean defaultConfiguration)`

Method Summary
`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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.