Forums Register Login

Problem with select query in hibernate

+Pie Number of slices to send: Send
Hi all, I am facing problem in issuing select command using hibernate. I wrote a sample codeWhen I try to execute this program I am getting an error like this
What is the problem? Thank you all in advance.
+Pie Number of slices to send: Send
Hi all, I fixed the problem. This post helped me fix the problem.

I was supposed to supply the POJO class name and the POJO class properties in the query. But I gave the database column names and table name in the query.
She's out of the country right now, toppling an unauthorized dictatorship. Please leave a message with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 3647 times.
Similar Threads
Using SQL date() function in HQL Select
Exception in thread "main" java.lang.NoSuchFieldError: tokenTypeToASTClassMap
org.hibernate.hql.ast.QuerySyntaxException: INFORMATION_SCHEMA.SYSTEM_ALIASES is not mapped.
Table not mapped.
Problem in many to one relation.
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 12:43:25.