File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

date mapping problem in Hibernet

Vaishali Paramane
Ranch Hand

Joined: Mar 05, 2007
Posts: 107
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?

Preparing for SCWCD
Manuel Schenkhuizen

Joined: Apr 20, 2011
Posts: 14

Maybe you should post what you wrote in you Main() method.
I agree. Here's the link:
subject: date mapping problem in Hibernet
It's not a secret anymore!