Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-1375

Cache codec resolution for getObject(index, Class) and setObject

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0
    • performance
    • None

    Description

      ResultSet.getObject(index, Class), PreparedStatement.setObject and ResultSet.updateObject loop over the whole codec list (38 codecs) for every value to find the one that applies. Hibernate 8 uses these calls by default for LocalDate, LocalTime and LocalDateTime, so the loop runs for each such column of each row and for each such parameter.

      Goal is that resolved codec to be cached

      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:

              Git Integration

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