This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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

Win a copy of Elasticsearch in Action this week in the Big Data forum!
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: 106
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