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

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

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: