db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernt M. Johnsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2060) SET CURRENT ISOLATION in ref.man refers java.sql.Connection.setTransactionLevel instead of java.sql.Connection.setTransactionIsolation
Date Mon, 11 Dec 2006 12:59:22 GMT
    [ http://issues.apache.org/jira/browse/DERBY-2060?page=comments#action_12457327 ] 
            
Bernt M. Johnsen commented on DERBY-2060:
-----------------------------------------

One minor issue: ref/rrefjavcsti.html says "Changing the current isolation for the connection
with setTransactionIsolation commits the current transaction and begins a new transaction,
per the JDBC standard".

The JDBC standard and JDK API spec says it's implementation defined. The JDBC tutorial, however,
 erroneously says that the transaction commits.

> 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
>         Attachments: DERBY-2060-2.diff, DERBY-2060-2.zip, DERBY-2060.diff, DERBY-2060.zip
>
>
> 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

        

Mime
View raw message