Uploaded image for project: 'MariaDB Connector/R2DBC'
  1. MariaDB Connector/R2DBC
  2. R2DBC-46

Add sql to R2DBC exception hierarchy

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 1.1.2
    • Specification
    • None

    Description

      0.9.0-RC1 addition:
      When running SQL statements that terminate with an exception, it is difficult to determine what specific SQL statement has lead to the exception. While calling code can somewhat reason about it, it would make sense to attach the offending SQL statement to the actual exception.

      Introduce a final String sql field and getSql method to R2dbcException that can be nullable. Retrofit R2dbcBadGrammarException.offendingSql to remove the field and redirect getOffendingSql() to R2dbcException.getSql().

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            diego dupin Diego Dupin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.5d
                0.5d
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 0.5d
                0.5d

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.