Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-10677

Include all SQL statements in batch fail exception

    XMLWordPrintable

    Details

    • Last commented by a User:
      true

      Description

      When use jdbcTemplate.batchUpdate(String[] scripts) if the update breaks an UncategorizedSQLException is thrown.

      The UncategorizedSQLException.getSql() does not contains the sql that generate the error but the first scripts[] element.

        Attachments

          Activity

            People

            Assignee:
            pwebb Phil Webb
            Reporter:
            jflefebvre Lefebvre
            Last updater:
            Spring Issues Spring Issues
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 24 weeks, 5 days ago