[jboss-user] [JBoss Seam] - Re: unit tests in a seam-genned app

gavin.king@jboss.com do-not-reply at jboss.com
Sat Feb 3 22:16:10 EST 2007


Oh I didnt read properly. The reason for the error is that the persistence.xml file is using a JTA datasource, which of course does not exist in a unit test. You need a different persistence.xml if you want to run in a unit test.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010630#4010630

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010630



More information about the jboss-user mailing list