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

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 10.4.2.0, 10.5.3.0, 10.6.2.1, 10.7.1.1
    • 10.7.1.1
    • Network Client
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            kristwaa Kristian Waagan
            kristwaa Kristian Waagan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment