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

Prevent user code from getting the LanguageConnectionContext from an EmbedConnection

    XMLWordPrintableJSON

Details

    • Normal

    Description

      User code can cast a java.sql.Connection to an EmbedConnection and then get the LanguageConnectionContext by calling EmbedConnection.getLanguageConnection(). We should prevent user code from doing this.

      Attachments

        1. derby-6751-02-ab-cacheLCC.diff
          4 kB
          Richard N. Hillegas
        2. derby-6751-02-aa-cacheLCC.diff
          5 kB
          Richard N. Hillegas
        3. derby-6751-01-ad-usederbyinternals.diff
          34 kB
          Richard N. Hillegas
        4. derby-6751-01-ab-usederbyinternals.diff
          33 kB
          Richard N. Hillegas
        5. derby-6751-01-aa-usederbyinternals.diff
          26 kB
          Richard N. Hillegas

        Issue Links

          Activity

            People

              rhillegas Richard N. Hillegas
              rhillegas Richard N. Hillegas
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: