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 "Anurag Shekhar (JIRA)" <de...@db.apache.org> on 2006/03/29 15:03:21 UTC

[jira] Created: (DERBY-1163) Add jdbc4.0 implementation of EmbedPooledConnection and EmbedXAConnection

Add jdbc4.0 implementation of EmbedPooledConnection and EmbedXAConnection
-------------------------------------------------------------------------

         Key: DERBY-1163
         URL: http://issues.apache.org/jira/browse/DERBY-1163
     Project: Derby
        Type: New Feature
 Environment: jdk1.6, jdbc4.0
    Reporter: Anurag Shekhar
 Assigned to: Anurag Shekhar 
     Fix For: 10.2.0.0




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


[jira] Updated: (DERBY-1163) Add jdbc4.0 implementation of EmbedPooledConnection and EmbedXAConnection

Posted by "Anurag Shekhar (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1163?page=all ]

Anurag Shekhar updated DERBY-1163:
----------------------------------

    Attachment: derby-1163_2.diff

the privious patch broke due to changes made in EmbedPoolableConnection as part of DERBY-1158.
I have fixed the problem. As the changes are only in 40 class which is unused for now I haven't reran derbyall

> Add jdbc4.0 implementation of EmbedPooledConnection and EmbedXAConnection
> -------------------------------------------------------------------------
>
>          Key: DERBY-1163
>          URL: http://issues.apache.org/jira/browse/DERBY-1163
>      Project: Derby
>         Type: New Feature
>  Environment: jdk1.6, jdbc4.0
>     Reporter: Anurag Shekhar
>     Assignee: Anurag Shekhar
>      Fix For: 10.2.0.0
>  Attachments: derby-1163.diff, derby-1163_2.diff
>


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


[jira] Commented: (DERBY-1163) Add jdbc4.0 implementation of EmbedPooledConnection and EmbedXAConnection

Posted by "Rick Hillegas (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-1163?page=comments#action_12372611 ] 

Rick Hillegas commented on DERBY-1163:
--------------------------------------

I'm afraid I see the following build error:

    [javac] C:\cygwin\home\rh161140\derby\mainline\trunk\java\engine\org\apache\derby\jdbc\EmbedXAConnection40.java:97:
checkHoldCursors(int,boolean) in org.apache.derby.jdbc.EmbedPooledConnection cannot be applied to (int)
    [javac]         super.checkHoldCursors(holdability);
    [javac]              ^

> Add jdbc4.0 implementation of EmbedPooledConnection and EmbedXAConnection
> -------------------------------------------------------------------------
>
>          Key: DERBY-1163
>          URL: http://issues.apache.org/jira/browse/DERBY-1163
>      Project: Derby
>         Type: New Feature
>  Environment: jdk1.6, jdbc4.0
>     Reporter: Anurag Shekhar
>     Assignee: Anurag Shekhar
>      Fix For: 10.2.0.0
>  Attachments: derby-1163.diff
>


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


[jira] Commented: (DERBY-1163) Add jdbc4.0 implementation of EmbedPooledConnection and EmbedXAConnection

Posted by "Rick Hillegas (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-1163?page=comments#action_12372977 ] 

Rick Hillegas commented on DERBY-1163:
--------------------------------------

Committed at subversion revision 391090.

> Add jdbc4.0 implementation of EmbedPooledConnection and EmbedXAConnection
> -------------------------------------------------------------------------
>
>          Key: DERBY-1163
>          URL: http://issues.apache.org/jira/browse/DERBY-1163
>      Project: Derby
>         Type: New Feature

>  Environment: jdk1.6, jdbc4.0
>     Reporter: Anurag Shekhar
>     Assignee: Anurag Shekhar
>      Fix For: 10.2.0.0
>  Attachments: derby-1163.diff, derby-1163_2.diff
>


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


[jira] Commented: (DERBY-1163) Add jdbc4.0 implementation of EmbedPooledConnection and EmbedXAConnection

Posted by "Rick Hillegas (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-1163?page=comments#action_12374185 ] 

Rick Hillegas commented on DERBY-1163:
--------------------------------------

Derbyall runs cleanly under  jdk1.4 (modulo the wisconsin noise) and the jdbc4 tests run cleanly too. Committed at subversion revision 393460.

> Add jdbc4.0 implementation of EmbedPooledConnection and EmbedXAConnection
> -------------------------------------------------------------------------
>
>          Key: DERBY-1163
>          URL: http://issues.apache.org/jira/browse/DERBY-1163
>      Project: Derby
>         Type: New Feature

>   Components: JDBC
>  Environment: jdk1.6, jdbc4.0
>     Reporter: Anurag Shekhar
>     Assignee: Anurag Shekhar
>      Fix For: 10.2.0.0
>  Attachments: derby-1163.diff, derby-1163_2.diff, derby-1163_3.diff
>


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


[jira] Updated: (DERBY-1163) Add jdbc4.0 implementation of EmbedPooledConnection and EmbedXAConnection

Posted by "Anurag Shekhar (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1163?page=all ]

Anurag Shekhar updated DERBY-1163:
----------------------------------

    Attachment: derby-1163.diff

Added classes
EmbedXAConnection40 and EmbedPoolableConnection40
EmbedPoolableconnection40 extends from EmbedConnection. It has stub implementation of the jdbc4.0 methods of PoolableConnection.
EmbedXAConnection40 extends from EmbedPoolableConnection40. All the methods in EmbedXAConnection is copied to this class too.

Modifed Class
XAStatementControl
Changed this to use EmbedPoolableConnection so that EmbedXAConnection40 can be passed this.

Right now the EmbedXAConnection40 EmbedPoolableConnection40 are unused (there is no class which uses these) and there there is no way 
to get these from user application. 
4.0 DataSource implementation which will be provided as part of jira 1137 will be used to  instantiate these classes.


> Add jdbc4.0 implementation of EmbedPooledConnection and EmbedXAConnection
> -------------------------------------------------------------------------
>
>          Key: DERBY-1163
>          URL: http://issues.apache.org/jira/browse/DERBY-1163
>      Project: Derby
>         Type: New Feature
>  Environment: jdk1.6, jdbc4.0
>     Reporter: Anurag Shekhar
>     Assignee: Anurag Shekhar
>      Fix For: 10.2.0.0
>  Attachments: derby-1163.diff
>


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


[jira] Updated: (DERBY-1163) Add jdbc4.0 implementation of EmbedPooledConnection and EmbedXAConnection

Posted by "Anurag Shekhar (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1163?page=all ]

Anurag Shekhar updated DERBY-1163:
----------------------------------

    Attachment: derby-1163_3.diff

Changed EmbedXAConnection40 to extend from EmbedXAConnection to address the concern raised during review of derby-1137.
Removed all copied methods and added the two new methods required by jdbc4.0

reverted the changes made in the last patch in XAStatementControl

> Add jdbc4.0 implementation of EmbedPooledConnection and EmbedXAConnection
> -------------------------------------------------------------------------
>
>          Key: DERBY-1163
>          URL: http://issues.apache.org/jira/browse/DERBY-1163
>      Project: Derby
>         Type: New Feature

>  Environment: jdk1.6, jdbc4.0
>     Reporter: Anurag Shekhar
>     Assignee: Anurag Shekhar
>      Fix For: 10.2.0.0
>  Attachments: derby-1163.diff, derby-1163_2.diff, derby-1163_3.diff
>


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


[jira] Updated: (DERBY-1163) Add jdbc4.0 implementation of EmbedPooledConnection and EmbedXAConnection

Posted by "Mike Matrigali (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1163?page=all ]

Mike Matrigali updated DERBY-1163:
----------------------------------

    Component: JDBC

> Add jdbc4.0 implementation of EmbedPooledConnection and EmbedXAConnection
> -------------------------------------------------------------------------
>
>          Key: DERBY-1163
>          URL: http://issues.apache.org/jira/browse/DERBY-1163
>      Project: Derby
>         Type: New Feature

>   Components: JDBC
>  Environment: jdk1.6, jdbc4.0
>     Reporter: Anurag Shekhar
>     Assignee: Anurag Shekhar
>      Fix For: 10.2.0.0
>  Attachments: derby-1163.diff, derby-1163_2.diff, derby-1163_3.diff
>


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


[jira] Resolved: (DERBY-1163) Add jdbc4.0 implementation of EmbedPooledConnection and EmbedXAConnection

Posted by "Anurag Shekhar (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1163?page=all ]
     
Anurag Shekhar resolved DERBY-1163:
-----------------------------------

    Resolution: Fixed

> Add jdbc4.0 implementation of EmbedPooledConnection and EmbedXAConnection
> -------------------------------------------------------------------------
>
>          Key: DERBY-1163
>          URL: http://issues.apache.org/jira/browse/DERBY-1163
>      Project: Derby
>         Type: New Feature

>   Components: JDBC
>  Environment: jdk1.6, jdbc4.0
>     Reporter: Anurag Shekhar
>     Assignee: Anurag Shekhar
>      Fix For: 10.2.0.0
>  Attachments: derby-1163.diff, derby-1163_2.diff, derby-1163_3.diff
>


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


[jira] Commented: (DERBY-1163) Add jdbc4.0 implementation of EmbedPooledConnection and EmbedXAConnection

Posted by "Rick Hillegas (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-1163?page=comments#action_12372751 ] 

Rick Hillegas commented on DERBY-1163:
--------------------------------------

Looks good. The jdbc4 tests pass. Derbyall has the usual errors: wisconsin, sysinfo, and sysinfo_withproperties.

> Add jdbc4.0 implementation of EmbedPooledConnection and EmbedXAConnection
> -------------------------------------------------------------------------
>
>          Key: DERBY-1163
>          URL: http://issues.apache.org/jira/browse/DERBY-1163
>      Project: Derby
>         Type: New Feature
>  Environment: jdk1.6, jdbc4.0
>     Reporter: Anurag Shekhar
>     Assignee: Anurag Shekhar
>      Fix For: 10.2.0.0
>  Attachments: derby-1163.diff, derby-1163_2.diff
>


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