org.hibernate.envers.test
Class AbstractSessionTest
java.lang.Object
org.hibernate.envers.test.AbstractEnversTest
org.hibernate.envers.test.AbstractSessionTest
- Direct Known Subclasses:
- AbstractCollectionChangeTest, AddDelTest, EntityNamesTest, EvictAuditDataAfterCommitTest, PropertiesGroupTest, QueryingWithProxyObjectTest
public abstract class AbstractSessionTest
- extends AbstractEnversTest
Base class for testing envers with Session.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
config
protected Configuration config
AbstractSessionTest
public AbstractSessionTest()
init
public void init()
throws URISyntaxException
- Throws:
URISyntaxException
initMappings
protected abstract void initMappings()
throws MappingException,
URISyntaxException
- Throws:
MappingException
URISyntaxException
getHibernateConfigurationFileName
protected String getHibernateConfigurationFileName()
newSessionFactory
public void newSessionFactory()
closeSessionFactory
public void closeSessionFactory()
getSession
protected Session getSession()
getCfg
protected Configuration getCfg()
getAuditReader
protected AuditReader getAuditReader()
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.