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] Created: (DERBY-1018) Client xa Statement.getConnection and DatabaseMetadata.getConnection returns underlying NetXAConnection instead of Logical connection
Date Tue, 21 Feb 2006 18:59:29 GMT
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
     Fix For: 10.1.3.0


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