[jboss-user] [JBoss Seam] - Re: EntityManager trouble

2008-01-16 Thread ErikSlagter
It's probably my Eclipse configuration. I stopped trying to use a real database (for testing) and now use a HSQLDB. Works fine for me... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4120305#4120305 Reply to the post :

[jboss-user] [JBoss Seam] - Re: EntityManager trouble

2008-01-14 Thread [EMAIL PROTECTED]
The unit test passes for me and in continuous integration. How are you running the test? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4119664#4119664 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4119664

[jboss-user] [JBoss Seam] - Re: EntityManager trouble

2008-01-13 Thread bvdberg
also try this in components.xml persistence:managed-persistence-context name=entityManager | auto-create=true | entity-manager-factory=#{myEntityManagerFactory}/ | | persistence:entity-manager-factory

[jboss-user] [JBoss Seam] - Re: EntityManager trouble

2008-01-13 Thread bvdberg
Well. the error anonymous wrote : No Persistence provider for EntityManager named dvdDatabase means that the EntityManagerFacrtory cannot find the file 'META-INF/persistence.xml' which should be in your classpath. Bas View the original post :

[jboss-user] [JBoss Seam] - Re: EntityManager trouble

2008-01-11 Thread ErikSlagter
I don't know exactly what your asking me. Where would you normally do it? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4118952#4118952 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4118952

[jboss-user] [JBoss Seam] - Re: EntityManager trouble

2008-01-11 Thread ErikSlagter
I just tried the DVDstore example and it fails on the same point in ProductionUnitTest. testNG stacktrace: javax.persistence.PersistenceException: No Persistence provider for EntityManager named dvdDatabase | at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:89)

[jboss-user] [JBoss Seam] - Re: EntityManager trouble

2008-01-11 Thread gduq
I don't know if this helps. but I vaguely recall having to make some changes to get tests to run inside eclipse via the TestNG plugin (not sure if this is even what you are trying to do) one of the things I remember having to do was add the \resources folder to the build path. View the

[jboss-user] [JBoss Seam] - Re: EntityManager trouble

2008-01-10 Thread [EMAIL PROTECTED]
How are you putting the datasource into JNDI? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4118782#4118782 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4118782 ___ jboss-user