File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes Hibernate Problem  :  TimeStamp in Hibernate 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 "Hibernate Problem  :  TimeStamp in Hibernate" Watch "Hibernate Problem  :  TimeStamp in Hibernate" New topic

Hibernate Problem : TimeStamp in Hibernate

somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
In my work .

I'm using hibernate in my project but i found some problem about timestamp.

Follow this :

in hibernatet mapping file

But after i generated hibernate class ::

Why hibernate class not have variable type is java.sql.Timestamp ???

Java Developer, Thailand
I agree. Here's the link:
subject: Hibernate Problem : TimeStamp in Hibernate
Similar Threads
Timestamp Binding
How do i convert a Date object into a TimeStamp object
Getting same record in query.
How to use a Timestamp as the Identifier
Compiler Says That My Class Is Not "public"!