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 time/date HQL vs Hbm3 Criteria Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "time/date HQL vs Hbm3 Criteria" Watch "time/date HQL vs Hbm3 Criteria" New topic

time/date HQL vs Hbm3 Criteria

Krzysztof Wasylka

Joined: Sep 24, 2008
Posts: 1

I want to select some data between given time (not the date - only time hour minute seconds).
Usinf HQL in JPA I can do it in a following way:

Can I do it with hibernate3 Criteria?
PS: I do know that JPA do not have the criterias.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: time/date HQL vs Hbm3 Criteria
It's not a secret anymore!