[jboss-user] [JBoss Seam] - Re: EntityManager in custom validator
petemuir
do-not-reply at jboss.com
Wed Apr 25 16:05:09 EDT 2007
Yes, use the @Converter annotation to register your converter (rather than registering it through faces-config.xml), use the @Transactional annotation on the getAsXXX methods, and do a entityManager.joinTransaction() before accessing the entityManager. We seem to be missing docs for @Converter and @Validator so post back if you are stuck.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040734#4040734
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040734
More information about the jboss-user
mailing list