Re: surefire and hibernate+spring

2006-09-15 Thread Guillaume Bilodeau
Problem solved. Solution is described here: http://jroller.com/page/gbilodeau/?anchor=of_running_jpa_unit_tests1. Guillaume Bilodeau wrote: > > I am experiencing a similar problem when using entity beans in the form of > annotated classes: the tests run fine under Eclipse but fail under Maven

Re: surefire and hibernate+spring

2006-09-13 Thread Guillaume Bilodeau
I am experiencing a similar problem when using entity beans in the form of annotated classes: the tests run fine under Eclipse but fail under Maven with the same "Unknown entity" message. A quick look at the Hibernate logs shows that the entities are recognized under Eclipse but not under Maven.

surefire and hibernate+spring

2006-02-20 Thread Jurgen Lust
Hi, I'm having a problem run the unit tests for a hibernate and spring-based application with the surefire plugin. I'm using the xdoclet plugin to generate the hibernate mapping files, and a spring LocalSessionFactoryBean to load the mappings, like so: The surefire plugin: maven