automate « Test « JPA Q&A





1. persistence.xml not found during maven testing    stackoverflow.com

I'm trying to load test data into a test DB during a maven build for integration testing. persistence.xml is being copied to target/test-classes/META-INF/ correctly, but I get this exception when the ...

2. How can I simulate Hibernate errors during an automated unit or system test?    stackoverflow.com

I'm trying to test my code, written using JBoss Seam and Hibernate. What I'd like to achieve is this: Execute a SeamTest automated test to run a particular method on a Seam ...

3. testing web-database apps with maven    stackoverflow.com


I want to test my orm-part of my web application written in java-jpa. When there is the test goal of maven running, the creating tables in database didn't trigger yet, because ...