This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes OracleV$TIMEZONE_NAMES thorough Hibernate/JPA? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "OracleV$TIMEZONE_NAMES thorough Hibernate/JPA?" Watch "OracleV$TIMEZONE_NAMES thorough Hibernate/JPA?" New topic
Author

OracleV$TIMEZONE_NAMES thorough Hibernate/JPA?

Julio Fernandez
Greenhorn

Joined: Mar 06, 2008
Posts: 7
Hi everyone!,

So, I have this query:
SELECT TZNAME FROM V$TIMEZONE_NAMES GROUP BY TZNAME

This is basically to get all time zones from Oracle database, however, if I need to retrieve this information somehow using JPA or Hibernate (I would use this infomation as a String List), is there any way I can avoid a Native Query and use some HQL, Criteria query for this?, I mean, I would really like that approach instead...


Thanks & Best Regards!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: OracleV$TIMEZONE_NAMES thorough Hibernate/JPA?
 
Similar Threads
JPA Query and HQL
Difference between Hibernate and JPA
Why is JPA used with in Combination with ORM like Hibernate
show query