Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4843

Consult isPoolable hint before caching prepared statement

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 10.4.2.0, 10.5.3.0, 10.6.2.1, 10.7.1.1
    • Fix Version/s: 10.7.1.1
    • Component/s: Network Client
    • Labels:
      None

      Description

      The Derby JDBC client side statement cache should consult the value of the isPoolable hint before caching prepared statements.

      This will give users the ability to avoid that short-lived prepared statements push out more frequently used prepared statements in the case of a full statement cache.
      The API JavaDoc says that it is up to the cache whether the hint is used or not.

        Attachments

          Activity

            People

            • Assignee:
              kristwaa Kristian Waagan
              Reporter:
              kristwaa Kristian Waagan

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment