Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 2757 invoked from network); 15 Nov 2006 16:23:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Nov 2006 16:23:00 -0000 Received: (qmail 74650 invoked by uid 500); 15 Nov 2006 16:23:10 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 74473 invoked by uid 500); 15 Nov 2006 16:23:09 -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 74464 invoked by uid 99); 15 Nov 2006 16:23:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Nov 2006 08:23:09 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Nov 2006 08:22:58 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 77FF6714317 for ; Wed, 15 Nov 2006 08:22:38 -0800 (PST) Message-ID: <2020356.1163607758488.JavaMail.jira@brutus> Date: Wed, 15 Nov 2006 08:22:38 -0800 (PST) From: "Kim Haase (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-2060) SET CURRENT ISOLATION in ref.man refers java.sql.Connection.setTransactionLevel instead of java.sql.Connection.setTransactionIsolation In-Reply-To: <22807930.1163025051563.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 [ http://issues.apache.org/jira/browse/DERBY-2060?page=comments#action_12450090 ] Kim Haase commented on DERBY-2060: ---------------------------------- I will fix this source file (rrefsqlj41180.dita) to change setTransactionLevel to setTransactionIsolation. I can also change the first sentence to correct the statement name from SET CURRENT ISOLATION LEVEL to SET CURRENT ISOLATION and fix the index entry as well. I notice, though, that in the Developer's Guide section "Isolation levels and concurrency" (cdevconcepts15366.dita), the method name is Connection.setIsolationLevel, which appears to be incorrect too. Should I correct this as well? I'll assume so and provide patches for both files unless I hear otherwise. I also see that in the "SQL error messages and exceptions" section of the Reference Manual (rrefexcept71493.dita), the method name is Connection.setTransactionIsolationLevel. This must be an error in the message text itself, so that would have to be fixed somewhere else and the DITA file would then have to be regenerated (I think). Would that be a separate bug? > SET CURRENT ISOLATION in ref.man refers java.sql.Connection.setTransactionLevel instead of java.sql.Connection.setTransactionIsolation > -------------------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-2060 > URL: http://issues.apache.org/jira/browse/DERBY-2060 > Project: Derby > Issue Type: Bug > Components: Documentation > Reporter: Bernt M. Johnsen > Assigned To: Kim Haase > > On SET CURRENT ISOLATION statement in the Derby refernce manual: > "Issuing this command commits the current transaction, which is consistent with the java.sql.Connection.setTransactionLevel method." > The correct method name is java.sql.Connection.setTransactionIsolation (java.sql.Connection.setTransactionLevel does not exist) > BTW: setTransactionIsolation will commit the current transaction if called in the client driver but not in the embedded driver. See DERBY-638 -- 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