aspose file tools*
The moose likes Object Relational Mapping and the fly likes When to go for SQLQuery in hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "When to go for SQLQuery in hibernate" Watch "When to go for SQLQuery in hibernate" New topic

When to go for SQLQuery in hibernate

shyam sunder prasad
Ranch Hand

Joined: Mar 23, 2011
Posts: 62
Hi everybody,

i have a big doubt regarding hibernate SQLQuery ,i.e ,we can achieve the all required database operations with Queey or Criteria but

still i dont when do i go for SQLQuery?

can anyone help me with one example please.
Hemant Thard
Ranch Hand

Joined: Dec 23, 2008
Posts: 122
hello shyam,

you can find lot of example, if you just google it.

but if you have any special question, you can post that..

I agree. Here's the link:
subject: When to go for SQLQuery in hibernate
Similar Threads
Why I would use JDBC over Hibernate ?
Dynamic SQl - PreparedStatement
oracle stored procedure with clob return
Can we use plain SQL queries in Hibernate?
Identity of hibernate entity being retrieved