aspose file tools*
The moose likes Struts and the fly likes date mapping problem in Hibernet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "date mapping problem in Hibernet" Watch "date mapping problem in Hibernet" New topic
Author

date mapping problem in Hibernet

Vaishali Paramane
Ranch Hand

Joined: Mar 05, 2007
Posts: 106
Hi
I created table in oracle


after running this programm I am getting error
Exception in thread "main" java.lang.IllegalArgumentException: Timestamp format must be yyyy-mm-dd hh:mm:ss[.fffffffff]

is anything wrong in mapping?


SCJP, SCJD
Preparing for SCWCD
Manuel Schenkhuizen
Greenhorn

Joined: Apr 20, 2011
Posts: 14

Maybe you should post what you wrote in you Main() method.
 
 
subject: date mapping problem in Hibernet