Announcement Announcement Module
Collapse
No announcement yet.
java.text.ParseException:Unparseable Date. Using Hibernate Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • java.text.ParseException:Unparseable Date. Using Hibernate

    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

  • #2
    sam,

    could you show a more complete stack trace. This may help to figure out at what layer you are getting the exception. Also, did you configure any data editor?

    Comment

    Working...
    X