db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jørgen Løland (JIRA) <j...@apache.org>
Subject [jira] Updated: (DERBY-2065) Network and embedded difference in SQLSTATE and message when Connection.close() with open transaction.
Date Fri, 12 Oct 2007 11:52:53 GMT

     [ https://issues.apache.org/jira/browse/DERBY-2065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jørgen Løland updated DERBY-2065:
---------------------------------

    Attachment: derby-2065_1.diff
                derby-2065_1.stat

The attached patch, v1, changes the SQLState to 25001 for both connection types. As argued
by Dag, this is in accordance with the SQL spec.

Suites.all and derbyall run cleanly. 

> Network and embedded difference in SQLSTATE and message when Connection.close() with
open transaction.
> ------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2065
>                 URL: https://issues.apache.org/jira/browse/DERBY-2065
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Client, Network Server
>            Reporter: Bernt M. Johnsen
>            Assignee: Jørgen Løland
>            Priority: Minor
>         Attachments: derby-2065_1.diff, derby-2065_1.stat
>
>
> Network and embedded difference in SQLSTATE and message when Connection.close() with
open transaction.
> ----------- NetworkClient --------------
> Message: Cannot close a connection while a transaction is still active.
> SQLState: 25001
> ----------- Embedded --------------
> Message: Invalid transaction state.
> SQLState: 25000

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message