This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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: 1281

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: 1281

Yup I mean the check for the syntax.
It is sorta covered in the JavaRanch Style Guide.
subject: Correctness in hibernate query
It's not a secret anymore!