It's not a secret anymore!
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
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Dynamic SQL in hibernate" Watch "Dynamic SQL in hibernate" New topic
Author

Dynamic SQL in hibernate

Narendra Nathmal
Greenhorn

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Dynamic SQL in hibernate
 
jQuery in Action, 3rd edition