File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes Correctness in hibernate query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Correctness in hibernate query" Watch "Correctness in hibernate query" New topic

Correctness in hibernate query

Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1270

Where I can test the correctness in hibernate query??


No Kaustubh No Fun, Know Kaustubh Know Fun..
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

By "correctness" do you mean syntax? If so, you can run it in Hibernate. That will tell you if it is correct, and give you a clue for what is wrong if it isn't.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1270

Yup I mean the check for the syntax.
It is sorta covered in the JavaRanch Style Guide.
subject: Correctness in hibernate query
Similar Threads
request.getParameter is returning null value
Getting Content of Table Cells into an Array
Point me to a COMPLETE HQL reference?
query to get data from two tables
Hibernate: Running a query using an object