jhomenet.test.hibernate
Class HibernateTest
java.lang.Object
junit.framework.TestCase
jhomenet.test.hibernate.HibernateTest
- Direct Known Subclasses:
- TestCaseWithData
public abstract class HibernateTest
- extends junit.framework.TestCase
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DAOFACTORY
protected final DAOFactory DAOFACTORY
sessionFactory
protected SessionFactory sessionFactory
wrapInTransaction
protected boolean wrapInTransaction
rollback
protected boolean rollback
HibernateTest
public HibernateTest()
runTest
protected void runTest()
throws java.lang.Throwable
- Throws:
java.lang.Throwable
disconnectContext
protected Session disconnectContext()
reconnectContext
protected void reconnectContext(Session s)
inTransaction
public void inTransaction()
- Executes inside the transaction.
Override this method to execute extra operations, such as test data import.
Copyright © 2004-2005 David Irwin. All Rights Reserved.