Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4316820

PooledConnection loses PreparedStatements on Close

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 1.3.0
    • core-libs
    • generic
    • generic



      Name: krT82822 Date: 02/27/2000


      (please see Comments section)

      java version "1.3beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3beta-O)
      Java(TM) HotSpot Client VM (build 1.3beta-O, mixed mode)

      Working with Oracle 8.1.6 implementation of javax.sql, it seems a
      PooledConnection has no way to preserve its PreparedStatements with its physical
      connection. They are lost when the logical connection is closed, thus erasing
      the performance benefit of query plans. Looking at the javax.sql API, it seems
      to be a problem that is designed into the API.

      --------------------------

      1/25/2000 further notes from user:

      Actually, I have not used the javax.sql directly. Just the Oracle 8.1.6
      implementation of javax.sql. I am not sure what version of javax.sql
      Oracle is using for this. If you need further details, please ask.
      However, I do not think my inquiry depends on any testing.
      I see it as question of how the API is defined and how to use it.
      (Review ID: 100318)
      ======================================================================

            jellissunw Jon Ellis (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: