You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Rick Hillegas (JIRA)" <ji...@apache.org> on 2009/07/21 17:57:14 UTC

[jira] Resolved: (DERBY-1018) Client xa Statement.getConnection and DatabaseMetadata.getConnection returns underlying NetXAConnection instead of Logical connection

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

Rick Hillegas resolved DERBY-1018.
----------------------------------

    Resolution: Duplicate

It appears to me that this bug has been fixed by the work on related issues.

> Client xa Statement.getConnection and DatabaseMetadata.getConnection returns underlying NetXAConnection instead of  Logical connection
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-1018
>                 URL: https://issues.apache.org/jira/browse/DERBY-1018
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC, Network Client
>    Affects Versions: 10.1.3.1, 10.2.1.6, 10.3.2.1, 10.4.1.3
>            Reporter: Kathey Marsden
>         Attachments: ClientXADataSourceTest.java
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.