db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6751) Prevent user code from getting the LanguageConnectionContext from an EmbedConnection
Date Wed, 01 Oct 2014 22:43:34 GMT

    [ https://issues.apache.org/jira/browse/DERBY-6751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14155706#comment-14155706
] 

Rick Hillegas commented on DERBY-6751:
--------------------------------------

Hi Myrna,

I agree that this fix should not be backported. Thanks.

> Prevent user code from getting the LanguageConnectionContext from an EmbedConnection
> ------------------------------------------------------------------------------------
>
>                 Key: DERBY-6751
>                 URL: https://issues.apache.org/jira/browse/DERBY-6751
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.12.0.0
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>         Attachments: derby-6751-01-aa-usederbyinternals.diff, derby-6751-01-ab-usederbyinternals.diff,
derby-6751-01-ad-usederbyinternals.diff
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message