[
https://issues.apache.org/jira/browse/DERBY-6751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14155698#comment-14155698
]
ASF subversion and git services commented on DERBY-6751:
--------------------------------------------------------
Commit 1628855 from [~rhillegas] in branch 'code/trunk'
[ https://svn.apache.org/r1628855 ]
DERBY-6751: Prevent user code from getting a LanguageConnectionContext out of
an EmbedConnection; tests passed cleanly on
derby-6751-01-ad-usederbyinternals.diff.
> 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)