Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 15597 invoked from network); 27 Feb 2008 00:25:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Feb 2008 00:25:42 -0000 Received: (qmail 64030 invoked by uid 500); 27 Feb 2008 00:25:37 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 64001 invoked by uid 500); 27 Feb 2008 00:25:37 -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 63992 invoked by uid 99); 27 Feb 2008 00:25:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 16:25:37 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2008 00:25:12 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 23FB429A0019 for ; Tue, 26 Feb 2008 16:24:51 -0800 (PST) Message-ID: <1865012046.1204071891146.JavaMail.jira@brutus> Date: Tue, 26 Feb 2008 16:24:51 -0800 (PST) From: "Dibyendu Majumdar (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-3461) EmbedSQLWarning should be renamed SQLWarningFactory and return java.sql.SQLWarning objects and not a Derby specific implementation. In-Reply-To: <1467962093.1203962933698.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-3461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dibyendu Majumdar updated DERBY-3461: ------------------------------------- Attachment: DERBY-3461_patch_1_r631372.txt The class EmbedSQLWarning is really an SQLWarning factory class. Therefore, it has been renamed to SQLWarningFactory. The unused method generateCsSQLWarning() has been removed. The remaining methods have been renamed to remove the reference to 'Embed'. Since the re-factored class is generic, it has been moved to org.apache.derby.iapi.error package. > EmbedSQLWarning should be renamed SQLWarningFactory and return java.sql.SQLWarning objects and not a Derby specific implementation. > ----------------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-3461 > URL: https://issues.apache.org/jira/browse/DERBY-3461 > Project: Derby > Issue Type: Improvement > Components: JDBC, Services > Reporter: Daniel John Debrunner > Assignee: Dibyendu Majumdar > Priority: Minor > Attachments: DERBY-3461_patch_1_r631372.txt > > > One side effect is that the toString() of such a warning would change format from starting with "SQLWarning: " to "java.sql.SQLWarning: ", which should match any warnings created on the network client side. > See comments in DERBY-3453 as well for possible correct package of SQLWarningFactory. > Note: generateCsSQLWarning() can be removed as it doesn't seem to be used. > Note: Also SQLWarningFactory would not extend java.sql.SQLWarning. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.