File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 agree. Here's the link:
subject: time/date HQL vs Hbm3 Criteria
It's not a secret anymore!