The one in main/resources has the Person mapping (added by the gen plugin, as
I didnt do it)
The one in test/resources does not have that mapping.

Testing is okay (except for DB keys violations) when the mapping is added to
the hibernate.cfg.xml in test/resources. The gen plugin doesnt do it
automatically it seems.



Make sure you're editing the correct file. In other words, delete the one in
src/test/resources and modify the one in src/main/resources.

-- 
View this message in context: 
http://www.nabble.com/generated-class-throws-exceptions-tp25373508s2369p25374075.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to