Hi everybody,
I had just begun my first web application with NetBeans and using the frameworks JSF et Hibernate. I followed step by step the official tutorial in Netbeans's Website Using Hibernate in a Web Application, but I had some trouble when I tried to test my queries with HQL Query. In summary, I :
1. created the Hibernate Reverse Engineering file
2. created the Hibernate POJOs and Mapping XML files
3. created a Java class named ClientHelper that would help me retrieving and displaying data
When I tape 'from Client' in the HQL Query, I had this kind of message: QuerySyntaxException: Client is not mapped. Can someone help me??
Last edited by revo1789 on Fri Jul 23, 2010 11:56 pm, edited 1 time in total.
|