aspose file tools*
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
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?