Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 55074 invoked from network); 12 Jul 2006 23:31:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jul 2006 23:31:31 -0000 Received: (qmail 8340 invoked by uid 500); 12 Jul 2006 23:31:30 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 8304 invoked by uid 500); 12 Jul 2006 23:31:30 -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 8295 invoked by uid 99); 12 Jul 2006 23:31:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2006 16:31:30 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2006 16:31:29 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id ABC284104FE for ; Wed, 12 Jul 2006 23:29:30 +0000 (GMT) Message-ID: <19299757.1152746970699.JavaMail.jira@brutus> Date: Wed, 12 Jul 2006 23:29:30 +0000 (GMT+00:00) From: "Sunitha Kambhampati (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Reopened: (DERBY-1015) Define interface between network server and engine through Java interfaces. In-Reply-To: <393731313.1140543357593.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-1015?page=all ] Sunitha Kambhampati reopened DERBY-1015: ---------------------------------------- Thanks David for the review and commit. The # 421435 revision number only took care of the derby1015.diff.txt . That commit missed adding two files EnginePreparedStatement and EngineParameterMetaData. I am opening this issue, because there is another patch that needs to be committed. derby1015.p2.diff.txt. Can someone commit this too if it looks ok. Thanks. > Define interface between network server and engine through Java interfaces. > --------------------------------------------------------------------------- > > Key: DERBY-1015 > URL: http://issues.apache.org/jira/browse/DERBY-1015 > Project: Derby > Type: Improvement > Components: JDBC > Reporter: Daniel John Debrunner > Assignee: Daniel John Debrunner > Fix For: 10.2.0.0 > Attachments: Derby1015.p2.diff.txt, derby1015.diff.txt, derby1015.p2.stat.txt, derby1015.stat.txt > > API between the network server and engine is not well defined, leading to inconsistent & multiple ways of handling the different objects returned, such as reflection, explicit casting etc. This in turn has lead to bugs such as DERBY-966 . DERBY-1005, and DERBY-1006, and access to underlying objects by the application that should be hidden. > Define interfaces, such as EngineConnection, that both EmbedConnection and BrokeredConnection implement. Thus the network server can rely on the fact that any connection it obtains will implement EngineConnection, and call the required methods through that interface. > Most likely will need EngineConnection, EnginePreparedStatement and EngineResultSet.. These interfaces would be internal to derby and not exposed to applications. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira