This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Object Relational Mapping and the fly likes Timestamp with Timezone problem while retrieving from Oracle db Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Timestamp with Timezone problem while retrieving from Oracle db" Watch "Timestamp with Timezone problem while retrieving from Oracle db" New topic
Author

Timestamp with Timezone problem while retrieving from Oracle db

Muhammad Ijaz
Ranch Hand

Joined: Mar 03, 2009
Posts: 34
Hi,

I am using spring + JPA + JSF with oracle database.

some of my database tables columns are of type Timestamp. While inserting the record with DAO.persist(someEntity), everything is fine.
But when i retrieve the entity using DAO.find(someEntityType, id), then it throws exception...

Any help in this regard will be highly appreciated .


IBM Certified WebSphere Commerce Application Developer

Christian Dillinger
Ranch Hand

Joined: Jul 20, 2009
Posts: 188
And you really think anybody can help you if you do not post what the exception is?!?
 
Don't get me started about those stupid light bulbs.
 
subject: Timestamp with Timezone problem while retrieving from Oracle db