Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3412F176C4 for ; Wed, 1 Oct 2014 22:44:34 +0000 (UTC) Received: (qmail 49160 invoked by uid 500); 1 Oct 2014 22:44:34 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 49131 invoked by uid 500); 1 Oct 2014 22:44:34 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 49120 invoked by uid 99); 1 Oct 2014 22:44:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2014 22:44:34 +0000 Date: Wed, 1 Oct 2014 22:44:33 +0000 (UTC) From: "Rick Hillegas (JIRA)" To: derby-dev@db.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (DERBY-6751) Prevent user code from getting the LanguageConnectionContext from an EmbedConnection MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-6751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick Hillegas resolved DERBY-6751. ---------------------------------- Resolution: Fixed Fix Version/s: 10.12.0.0 > 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 > Fix For: 10.12.0.0 > > 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)