Class DefaultHibernateConfigurer
- java.lang.Object
-
- org.apache.tapestry5.hibernate.internal.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
Constructors Constructor Description DefaultHibernateConfigurer(boolean defaultConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(org.hibernate.cfg.Configuration configuration)
Passed the configuration so as to make changes.
-
-
-
Constructor Detail
-
DefaultHibernateConfigurer
public DefaultHibernateConfigurer(@Symbol("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 interfaceHibernateConfigurer
-
-