File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 189
And you really think anybody can help you if you do not post what the exception is?!?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Timestamp with Timezone problem while retrieving from Oracle db