com.opensymphony.module.propertyset.hibernate
Interface HibernateConfigurationProvider
- All Known Implementing Classes:
- DefaultHibernateConfigurationProvider
- public interface HibernateConfigurationProvider
Use this class to provide your own configurations to the PropertySet hibernate providers.
Simply implement this interface and return a Hibernate Configuration object.
This is setup by using the configuration.provider.class property, with the classname
of your implementation.
getConfiguration
public net.sf.hibernate.cfg.Configuration getConfiguration()
- Get a Hibernate configuration object
getPropertySetDAO
public HibernatePropertySetDAO getPropertySetDAO()
setupConfiguration
public void setupConfiguration(java.util.Map properties)
- Setup a Hibernate configuration object with the given properties.
This will always be called before getConfiguration().
|