This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Why isn't query ordering? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Why isn Watch "Why isn New topic
Author

Why isn't query ordering?

Dave Alvarado
Ranch Hand

Joined: Jul 02, 2008
Posts: 436
Hi,

I'm using Hibernate 3.3.2.GA. I'm trying to write a simple query to return all the items from my table, ordered alphabetically by the "name" column. So I'm trying the below ...



But the items are not appearing ordered by name. Below is the code for the model class. Any ideas? - Dave

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why isn't query ordering?