This was a bug in seam-gen in 1.1.1. I've fixed it in CVS. It would be great if you could try it out for me. Thanks!
It works great. Thanks!
I also like the addition of persistence-test.xml and import-test.sql.
If you've got time, could you briefly explain what was wrong? I looked through the cvs diffs, and couldn't really tell what the root problem was.
I think I am experiencing a similar problem and just realized it. Sorry that I didn't see this thread and the similarities sooner.
The only difference is that I am not using seam-gen... but I have an action class that I am trying to integration test and the class contains @PersistenceContext. W/ this annotation in the class I receive the NameNotFoundException.
This was a bug in seam-gen in 1.1.1. I've fixed it in CVS.
Was the bug part of the jboss-seam-gen.jar or possibly a different artifact?
Did the fix make it into Seam 1.2.1.GA?