Hi,
I am using Spring with Hibernate, JBoss App Server and SqlServer7.0 database.
I have got an error Hibernate mapping data, when I submit form.
getting " org.jboss.util.NestedRuntimeException: Unparseable date: "2004-10-03 00:00:00.0"; - nested throwable: (java.text.ParseException: Unparseable date: "2004-10-03 00:00:00.0")"
The datatype in SqlServer DB for Date is "datetime" and the
Date I declared in Bean is java.util.Date.
If I format date using spring tag <fmt.......to MM/dd/yyyy>
its changing to 10/03/2004 and when I submit its getting same exception.
Any help is highly appreciated.
Thanks,
SS


Reply With Quote