How does your CarServiceTest.java row 53 looks like?
I would guess that you traverse an association in the test and that
association is not loaded. The object (Car) is detached from the hibernate
session when returned from the service and used in the junit test. You must
make sure that associations are populated before returning from the service.
/Patrik
-- 
View this message in context: 
http://www.nabble.com/HibernateException-while-running-JUnit-tests-tp21950045s17564p21950253.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to