Dear all,
I'm trying to write a custom validator as described
http://www.hibernate.org/hib_docs/validator/reference/en/html/validator-d...
The validator is intended for use with new users registering and he has to check whether
the login given by user is still available. Therefore I need to connect with the data
layer to execute a finder on users. Is there any simple way of doing that?
@PersistenceContext
private EntityManager em;
doesn't help since validator aint a bean.
Thanks in advance for any help,
Kind Regards,
karol
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114477#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...