[
http://jira.jboss.com/jira/browse/JBSEAM-2371?page=comments#action_12396670 ]
Siarhei Dudzin commented on JBSEAM-2371:
----------------------------------------
It wouldn't work becuase you use jndi reference in persistence.xml (and since there is
no jboss embeded there is no JNDI provider). It works if you have a direct jdbc url in
your persistence.xml, which is working as intended (considering you don't run jboss
embedded).
My tests use Persistence.createEntityManagerFactory with no problems this way.
Integration testing Seam components with Maven
----------------------------------------------
Key: JBSEAM-2371
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2371
Project: JBoss Seam
Issue Type: Task
Affects Versions: 2.0.0.GA
Environment: Maven 2.0.7
Reporter: Siarhei Dudzin
Priority: Critical
Fix For: 2.0.x
Various users have reported integration testing with Seam is not working in
'Mavenized' projects.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira