aspose file tools
The moose likes Other Open Source Projects and the fly likes Dynamic SQL in hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Dynamic SQL in hibernate" Watch "Dynamic SQL in hibernate" New topic

Dynamic SQL in hibernate

Narendra Nathmal

Joined: Aug 04, 2004
Posts: 5
Is it possible to build dynamic sql using hibernate. I know you can selectively query the columns definded in the .hbm files. But what if the column name is known only at runtime. In other words is something like this possible

<property name="somecol" column="?" />

The ? is the column name i am interested in??

Any ideas??
I agree. Here's the link:
subject: Dynamic SQL in hibernate