db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-1018) Client xa Statement.getConnection and DatabaseMetadata.getConnection returns underlying NetXAConnection instead of Logical connection
Date Mon, 24 Apr 2006 20:26:13 GMT
     [ http://issues.apache.org/jira/browse/DERBY-1018?page=all ]

Kathey Marsden updated DERBY-1018:
----------------------------------

    Fix Version:     (was: 10.1.3.0)

> Client xa Statement.getConnection and DatabaseMetadata.getConnection returns underlying
NetXAConnection instead of  Logical connection
> --------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: DERBY-1018
>          URL: http://issues.apache.org/jira/browse/DERBY-1018
>      Project: Derby
>         Type: Bug

>   Components: Network Client
>     Versions: 10.2.0.0, 10.1.2.3, 10.1.3.0
>     Reporter: Kathey Marsden

>
> For client XA a  Statement.getConnection() and DatabaseMetaData.getConnection() return
a NetXAConnection instead of a LogicalConnection.
> e.g. for a connection obtained from a ClientXADataSource:
>  Statement stmt = conn.createStatement();
>   System.out.println("conn:" + conn + "stmt.getConnection():" + stmt.getConnection());
> yields
> conn:org.apache.derby.client.am.LogicalConnection@11b9fb1stmt.getConnection():org.apache.derby.client.net.NetXAConnection@540408

-- 
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