[test resources] persistence.xml

2013-11-02 Thread Matthias Wessendorf
: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory INFO - HHH000397: Using ASTQueryTranslatorFactory INFO - HHH000227: Running hbm2ddl schema export INFO - HHH000230: Schema export complete INFO - PersistenceUnit(name=movie-unit, provider=org.hibernate.ejb.HibernatePersistence) - provider time 673ms -- Matthias Wessendorf blog: http

ClassNotFoundException: org.apache.openjpa.persistence.PersistenceProviderImpl

2013-11-02 Thread Matthias Wessendorf
(EntityManagerFactoryCallable.java:47) at org.apache.openejb.assembler.classic.ReloadableEntityManagerFactory.createDelegate(ReloadableEntityManagerFactory.java:115) ... 32 more -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http

Re: [test resources] persistence.xml

2013-11-03 Thread Matthias Wessendorf
Both are in the classpath for different ejbmodule so that s ok. Maybe have a look to altdd to use test.persistence.xml in src/main/resources Le 3 nov. 2013 00:00, Matthias Wessendorf mat...@apache.org a écrit : Hi, when running unit tests - where I have a src/test/resources/META-INF