Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2009

    Unanswered: After sybase upgrade, getting Unparseable date

    After sybase upgrade from 12.5 to 15,

    we are getting java.lang.Exception: java.text.ParseException: Unparseable date: "YYYY-MM-DD"

    SimpleDateFormat oldDateFmt = new SimpleDateFormat( oldFormat );
    SimpleDateFormat newDateFmt = new SimpleDateFormat( newFormat );
    Date dateObj = oldDateFmt.parse( date );

    We are using jconn3.jar.

    Is this an issue with code or jconn driver.? In any case, how to resolve it
    Vikram RM

  2. #2
    Join Date
    Jan 2010
    your jconn3.jar may not be in the path where version 15 is looking.
    a) change the path to use version 15
    b) pass it during runtime

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts