This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate Problem  :  TimeStamp in Hibernate" Watch "Hibernate Problem  :  TimeStamp in Hibernate" New topic
Author

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 ???


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Hibernate Problem : TimeStamp in Hibernate
 
It's not a secret anymore!