tomcat « Test « JPA Q&A





1. Object creation working in junit test but not in tomcat    forum.hibernate.org

Hello, i mapped an object Qualifcation with hibernate. Qualfication is linked with User and Device. Device is linked with DeviceFamily. Each of this 4 objects have their mapping files. To create a qualfication in database i always set firt the device and the user attribut. This work in junit, i'm able to create a Qualification, but fail in tomcat environment. Any ...

2. Object creation working in junit test but not in tomcat    forum.hibernate.org

Hello, i mapped a class Qualification with hibernate. Qualification is linked with User and Device. Device is linked with DeviceFamily. Each of this 4 objects have their mapping files. To create a qualification in database i always set firt the device and the user attribut. This work in junit, i'm able to create a Qualification, but fail in tomcat environment ( ...

3. Is TOMCAT 5.5.x tested / supported? What should I use?    forum.hibernate.org

I am using the latest version of everything I can find and still have the same problem. Everytime tomcat reloads my hibernate test app it gobbles up memory and latter produces out of memory errors. I am just using hibernate with its assoicated libary. I have a listner configured that starts the sesssionFactory (see below). And I reload using the tomcat ...