This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft 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 Java 8 in Action this week in the Java 8 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
show query
JPA Query and HQL
Difference between Hibernate and JPA
Why is JPA used with in Combination with ORM like Hibernate