Hi all,
I use the autofinders generated by hbm2java but when I try to call the method findAll, I catch an exception :
Hibernate Exception : unexpected token: in[from UserValueObject in class com.mcstechnology.recrutement.valueobject.UserValueObject]
And I don't know why I have these error, and if it's causes by the SQL request or something else.
If someone has an idea for help me...
Thanks in advance
public class UserValueObjectFinder implements Serializable {
public static List findAll(Session session) throws SQLException, HibernateException {
List finds = session.find("from UserValueObject in class com.mcstechnology.recrutement.valueobject.UserValueObject");
return finds;
}
}
|