Uploaded image for project: 'JBeret'
  1. JBeret
  2. JBERET-310

jdbcItemWriter should output more info from SQLException when jdbc batch update fails

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 1.3.0.Beta5
    • 1.3.0.Beta4
    • jberet-support
    • None

      we should be able to extract more info from SQLException in JdbcItemWriter class. It currently jsut throw any exception during sql execution out, but it looks like some sql-specific info is not included in the standard Throwable print.

      For instance,
      java.sql.SQLException#getNextException
      java.sql.BatchUpdateException#getUpdateCounts

            cfang@redhat.com Cheng Fang
            cfang@redhat.com Cheng Fang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: