fix wicket validator hibernate