org.apache.tapestry5.internal.hibernate
Class DefaultHibernateConfigurer

java.lang.Object
  extended by 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
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


Copyright © 2003-2012 The Apache Software Foundation.