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)" <de...@db.apache.org> on 2006/03/24 00:57:18 UTC

[jira] Created: (DERBY-1146) Verify that JDBC4 signatures satisfied

Verify that JDBC4 signatures satisfied
--------------------------------------

         Key: DERBY-1146
         URL: http://issues.apache.org/jira/browse/DERBY-1146
     Project: Derby
        Type: Improvement
    Versions: 10.2.0.0    
    Reporter: Rick Hillegas


Add to the jdbc40 suite a test which verifies that our JDBC4 classes satisfy the expected class/interface signatures.

-- 
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-1146) Verify that JDBC4 signatures satisfied

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

Knut Anders Hatlen updated DERBY-1146:
--------------------------------------

    Attachment: derby-1146-v1.diff
                derby-1146-v1.stat

Uploading patch with new test jdbc4/VerifySignatures.junit. The test is not enabled in any suite since it currently fails. It requires JVM 1.6 to run.

> Verify that JDBC4 signatures satisfied
> --------------------------------------
>
>          Key: DERBY-1146
>          URL: http://issues.apache.org/jira/browse/DERBY-1146
>      Project: Derby
>         Type: Improvement
>   Components: JDBC, Test
>     Versions: 10.2.0.0
>     Reporter: Rick Hillegas
>     Assignee: Knut Anders Hatlen
>  Attachments: client.txt, derby-1146-v1.diff, derby-1146-v1.stat, embedded.txt
>
> Add to the jdbc40 suite a test which verifies that our JDBC4 classes satisfy the expected class/interface signatures.

-- 
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-1146) Verify that JDBC4 signatures satisfied

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

Kristian Waagan updated DERBY-1146:
-----------------------------------

    Attachment: derby-1146-v2-enable.diff

'derby-1146-v2-enable.diff' enables the VerifySignatures patch, as it no longer fails. In addition, it sorts the tests in 'suites/jdbc40.runall' in alphabetical order.

I added two comments and one blank line in the runall file. The comments show up when running the tests, but they do not seem to cause trouble. If they should be removed, please let me know.

> Verify that JDBC4 signatures satisfied
> --------------------------------------
>
>          Key: DERBY-1146
>          URL: http://issues.apache.org/jira/browse/DERBY-1146
>      Project: Derby
>         Type: Improvement

>   Components: JDBC, Test
>     Versions: 10.2.0.0
>     Reporter: Rick Hillegas
>     Assignee: Knut Anders Hatlen
>      Fix For: 10.2.0.0
>  Attachments: client.txt, derby-1146-v1.diff, derby-1146-v1.stat, derby-1146-v2-enable.diff, embedded.txt
>
> Add to the jdbc40 suite a test which verifies that our JDBC4 classes satisfy the expected class/interface signatures.

-- 
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-1146) Verify that JDBC4 signatures satisfied

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

Knut Anders Hatlen updated DERBY-1146:
--------------------------------------

    Component: Test

> Verify that JDBC4 signatures satisfied
> --------------------------------------
>
>          Key: DERBY-1146
>          URL: http://issues.apache.org/jira/browse/DERBY-1146
>      Project: Derby
>         Type: Improvement
>   Components: JDBC, Test
>     Versions: 10.2.0.0
>     Reporter: Rick Hillegas
>     Assignee: Knut Anders Hatlen

>
> Add to the jdbc40 suite a test which verifies that our JDBC4 classes satisfy the expected class/interface signatures.

-- 
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-1146) Verify that JDBC4 signatures satisfied

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

Kristian Waagan updated DERBY-1146:
-----------------------------------

    Derby Info: [Patch Available]

> Verify that JDBC4 signatures satisfied
> --------------------------------------
>
>          Key: DERBY-1146
>          URL: http://issues.apache.org/jira/browse/DERBY-1146
>      Project: Derby
>         Type: Improvement

>   Components: JDBC, Test
>     Versions: 10.2.0.0
>     Reporter: Rick Hillegas
>     Assignee: Knut Anders Hatlen
>      Fix For: 10.2.0.0
>  Attachments: client.txt, derby-1146-v1.diff, derby-1146-v1.stat, derby-1146-v2-enable.diff, embedded.txt
>
> Add to the jdbc40 suite a test which verifies that our JDBC4 classes satisfy the expected class/interface signatures.

-- 
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] Assigned: (DERBY-1146) Verify that JDBC4 signatures satisfied

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

Knut Anders Hatlen reassigned DERBY-1146:
-----------------------------------------

    Assign To: Knut Anders Hatlen

Assigning this issue to me since I have had this on my plan for some time. Rick, if you have planned to do this yourself, please feel free to reassign the issue.

> Verify that JDBC4 signatures satisfied
> --------------------------------------
>
>          Key: DERBY-1146
>          URL: http://issues.apache.org/jira/browse/DERBY-1146
>      Project: Derby
>         Type: Improvement
>   Components: JDBC, Test
>     Versions: 10.2.0.0
>     Reporter: Rick Hillegas
>     Assignee: Knut Anders Hatlen

>
> Add to the jdbc40 suite a test which verifies that our JDBC4 classes satisfy the expected class/interface signatures.

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


Re: [jira] Updated: (DERBY-1146) Verify that JDBC4 signatures satisfied

Posted by Dy...@Sun.COM.
Andreas Korneliussen <An...@Sun.COM> writes:

> This is very interesting.
>
> However, isn't it the job of the compiler to figure out that the 
> signatures of an interface has been implemented ?

It should be :)

> I think it would be good for all EmbedXXX40 to declare which interface 
> they are supposed to implement, and then the compiler will make sure 
> that all signatures are satisfied.

+1

>
> Also, I think this also indicates that we should consider using 
> delegation instead of inheritance for code reuse.

+1 

-- 
dt


Re: [jira] Updated: (DERBY-1146) Verify that JDBC4 signatures satisfied

Posted by Anurag Shekhar <An...@Sun.COM>.
Adding the implements java.sql.XXX should take care of detecting missing 
methods in 4.0 classes. Delegating calls may be a safer way doing
things but it has practical problem take the case of EmbedConnection. 
This class is being used in 102 different places in engine code.
I haven't seen all the uses but my assumption is that these classes will 
be using internal methods of EmbedConnection (other wise they would have 
been using java.sql.Connection). If EmbedConnection40 is not compatible 
with EmbedConnection we will need a new interface which have all the 
common non standard methods. And this problem will be even worse if in 
every version of Connection there are some additional internal methods 
used by other classes of the same version. We may end up having a 
hierarchy of interface for each version.

Moving to delegation model may help catching the missing methods but I 
don't think making a design decision in anticipation of programing 
mistakes is  a good idea.
anurag

interface

Andreas Korneliussen wrote On 03/28/06 17:54,:

> Anurag Shekhar wrote:
>
>>
>>
>>> Also, I think this also indicates that we should consider using 
>>> delegation instead of inheritance for code reuse.
>>>
>>> Andreas
>>>
>> I didn't get it, how does it indicates that ?
>> anurag
>
>
> Because now we are fooling the compiler to think that EmbedXXX40 
> classes implement java.sql.XXX interface since it inherits from a 
> class which has declared that it implements it. The problem is that 
> the base class is compiled against an old runtime library, and we lose 
> the compile time checks for the new methods.
>
> This way of doing things was not introduced as part of JDBC4, it also 
> applies to JDBC3 vs JDBC2.  So basically a developer may accidentally 
> change the signature of a JDBC3 method, and the compiler will not 
> complain. You will only detect the error in runtime, i.e through tests.
>
> Andreas



Re: [jira] Updated: (DERBY-1146) Verify that JDBC4 signatures satisfied

Posted by Andreas Korneliussen <An...@Sun.COM>.
Anurag Shekhar wrote:
> 
> 
>> Also, I think this also indicates that we should consider using 
>> delegation instead of inheritance for code reuse.
>>
>> Andreas
>>
> I didn't get it, how does it indicates that ?
> anurag

Because now we are fooling the compiler to think that EmbedXXX40 classes 
implement java.sql.XXX interface since it inherits from a class which 
has declared that it implements it. The problem is that the base class 
is compiled against an old runtime library, and we lose the compile time 
checks for the new methods.

This way of doing things was not introduced as part of JDBC4, it also 
applies to JDBC3 vs JDBC2.  So basically a developer may accidentally 
change the signature of a JDBC3 method, and the compiler will not 
complain. You will only detect the error in runtime, i.e through tests.

Andreas

Re: [jira] Updated: (DERBY-1146) Verify that JDBC4 signatures satisfied

Posted by Anurag Shekhar <An...@Sun.COM>.

> Also, I think this also indicates that we should consider using 
> delegation instead of inheritance for code reuse.
>
> Andreas
>
I didn't get it, how does it indicates that ?
anurag

Re: [jira] Updated: (DERBY-1146) Verify that JDBC4 signatures satisfied

Posted by Andreas Korneliussen <An...@Sun.COM>.
Knut Anders Hatlen wrote:
> Andreas Korneliussen <An...@Sun.COM> writes:
> 
>> This is very interesting.
>>
>> However, isn't it the job of the compiler to figure out that the
>> signatures of an interface has been implemented ?
>>
>> I did the following change to EmbedResultSet40:
>>
>> I added "implements java.sql.ResultSet" in the class definition. The
>> compilation then failed with:
>>
>>      [javac]
>>      /home/ak136785/devel/derbydev/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedResultSet40.java:33:
>>      org.apache.derby.impl.jdbc.EmbedResultSet40 is not abstract and
>>      does not override abstract method
>>      updateNCharacterStream(java.lang.String,java.io.Reader,int) in
>>      java.sql.ResultSet
>> .. + warnings
>>
>>
>> The base class of EmbedResultSet40 also claims that it implements
>> java.sql.ResultSet, however it is compiled against a previous jre
>> version which does not have the new methods.  By declaring that the
>> EmbedResultSet40 class implements java.sql.ResultSet, I make the
>> compiler check that the class implements the interface when compiling
>> it with the 1.6 jre.
> 
> Yes, I have observed this too, and I agree that it is the job of the
> compiler to check this. However, I think there are some good reasons
> for having a test as well:
>

I agree that you should keep the test as well - at least as long as the 
current model for reuse is kept.

>   1) Relying on the developers to include "implements java.sql.(...)"
>      in the subclasses is error-prone since the compiler doesn't
>      complain if it's missing.
>

It is less error-prone than not including it, however it does not solve 
all problems.

>   2) There might be cases where we don't have a separate 4.0 class,
>      either because it's forgotten or because the new JDBC 4.0 methods
>      could be compiled with older JDKs.
> 

In such cases, one could make a separate class, which uses delegation to 
reuse the JDBC 3 methods, and implements the JDBC 4 methods. The new 
class should then be compiled against jdk1.6 rt.


>   3) Writing the test was a lot more fun than going through all
>      classes and adding "implements foo"! :)
> 
>> I think it would be good for all EmbedXXX40 to declare which interface
>> they are supposed to implement, and then the compiler will make sure
>> that all signatures are satisfied.
> 
> +0.5
> 
> It might be a good idea, but it might also just give us a false sense
> of security. For EmbedResultSet40 this would expose the errors, but it
> wouldn't help us to find that something is missing in EmbedClob.
>

Yes, it would only solve parts of the problem, therefore I also suggest 
  changing the model to delegation, and to always make a new class if a 
JDBC interface has been extended with new methods, and finally compile 
the JDBC classes against the correct runtime libraries.

Andreas

>> Also, I think this also indicates that we should consider using
>> delegation instead of inheritance for code reuse.
> 
> +1
> 


Re: [jira] Updated: (DERBY-1146) Verify that JDBC4 signatures satisfied

Posted by Rick Hillegas <Ri...@Sun.COM>.
I think that this test is the gold-standard. It supplies a missing 
sanity check which won't be available until we have a TCK for JDBC4. 
Thanks for writing this test, Knut Anders.

Regards,
-Rick

Knut Anders Hatlen wrote:

>Andreas Korneliussen <An...@Sun.COM> writes:
>
>  
>
>>This is very interesting.
>>
>>However, isn't it the job of the compiler to figure out that the
>>signatures of an interface has been implemented ?
>>
>>I did the following change to EmbedResultSet40:
>>
>>I added "implements java.sql.ResultSet" in the class definition. The
>>compilation then failed with:
>>
>>     [javac]
>>     /home/ak136785/devel/derbydev/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedResultSet40.java:33:
>>     org.apache.derby.impl.jdbc.EmbedResultSet40 is not abstract and
>>     does not override abstract method
>>     updateNCharacterStream(java.lang.String,java.io.Reader,int) in
>>     java.sql.ResultSet
>>.. + warnings
>>
>>
>>The base class of EmbedResultSet40 also claims that it implements
>>java.sql.ResultSet, however it is compiled against a previous jre
>>version which does not have the new methods.  By declaring that the
>>EmbedResultSet40 class implements java.sql.ResultSet, I make the
>>compiler check that the class implements the interface when compiling
>>it with the 1.6 jre.
>>    
>>
>
>Yes, I have observed this too, and I agree that it is the job of the
>compiler to check this. However, I think there are some good reasons
>for having a test as well:
>
>  1) Relying on the developers to include "implements java.sql.(...)"
>     in the subclasses is error-prone since the compiler doesn't
>     complain if it's missing.
>
>  2) There might be cases where we don't have a separate 4.0 class,
>     either because it's forgotten or because the new JDBC 4.0 methods
>     could be compiled with older JDKs.
>
>  3) Writing the test was a lot more fun than going through all
>     classes and adding "implements foo"! :)
>
>  
>
>>I think it would be good for all EmbedXXX40 to declare which interface
>>they are supposed to implement, and then the compiler will make sure
>>that all signatures are satisfied.
>>    
>>
>
>+0.5
>
>It might be a good idea, but it might also just give us a false sense
>of security. For EmbedResultSet40 this would expose the errors, but it
>wouldn't help us to find that something is missing in EmbedClob.
>
>  
>
>>Also, I think this also indicates that we should consider using
>>delegation instead of inheritance for code reuse.
>>    
>>
>
>+1
>
>  
>


Re: [jira] Updated: (DERBY-1146) Verify that JDBC4 signatures satisfied

Posted by Knut Anders Hatlen <Kn...@Sun.COM>.
Andreas Korneliussen <An...@Sun.COM> writes:

> This is very interesting.
>
> However, isn't it the job of the compiler to figure out that the
> signatures of an interface has been implemented ?
>
> I did the following change to EmbedResultSet40:
>
> I added "implements java.sql.ResultSet" in the class definition. The
> compilation then failed with:
>
>      [javac]
>      /home/ak136785/devel/derbydev/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedResultSet40.java:33:
>      org.apache.derby.impl.jdbc.EmbedResultSet40 is not abstract and
>      does not override abstract method
>      updateNCharacterStream(java.lang.String,java.io.Reader,int) in
>      java.sql.ResultSet
> .. + warnings
>
>
> The base class of EmbedResultSet40 also claims that it implements
> java.sql.ResultSet, however it is compiled against a previous jre
> version which does not have the new methods.  By declaring that the
> EmbedResultSet40 class implements java.sql.ResultSet, I make the
> compiler check that the class implements the interface when compiling
> it with the 1.6 jre.

Yes, I have observed this too, and I agree that it is the job of the
compiler to check this. However, I think there are some good reasons
for having a test as well:

  1) Relying on the developers to include "implements java.sql.(...)"
     in the subclasses is error-prone since the compiler doesn't
     complain if it's missing.

  2) There might be cases where we don't have a separate 4.0 class,
     either because it's forgotten or because the new JDBC 4.0 methods
     could be compiled with older JDKs.

  3) Writing the test was a lot more fun than going through all
     classes and adding "implements foo"! :)

> I think it would be good for all EmbedXXX40 to declare which interface
> they are supposed to implement, and then the compiler will make sure
> that all signatures are satisfied.

+0.5

It might be a good idea, but it might also just give us a false sense
of security. For EmbedResultSet40 this would expose the errors, but it
wouldn't help us to find that something is missing in EmbedClob.

> Also, I think this also indicates that we should consider using
> delegation instead of inheritance for code reuse.

+1

-- 
Knut Anders

Re: [jira] Updated: (DERBY-1146) Verify that JDBC4 signatures satisfied

Posted by Andreas Korneliussen <An...@Sun.COM>.
This is very interesting.

However, isn't it the job of the compiler to figure out that the 
signatures of an interface has been implemented ?

I did the following change to EmbedResultSet40:

I added "implements java.sql.ResultSet" in the class definition. The 
compilation then failed with:

     [javac] 
/home/ak136785/devel/derbydev/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedResultSet40.java:33: 
org.apache.derby.impl.jdbc.EmbedResultSet40 is not abstract and does not 
override abstract method 
updateNCharacterStream(java.lang.String,java.io.Reader,int) in 
java.sql.ResultSet
.. + warnings


The base class of EmbedResultSet40 also claims that it implements 
java.sql.ResultSet, however it is compiled against a previous jre 
version which does not have the new methods.  By declaring that the 
EmbedResultSet40 class implements java.sql.ResultSet, I make the 
compiler check that the class implements the interface when compiling it 
with the 1.6 jre.

I think it would be good for all EmbedXXX40 to declare which interface 
they are supposed to implement, and then the compiler will make sure 
that all signatures are satisfied.

Also, I think this also indicates that we should consider using 
delegation instead of inheritance for code reuse.

Andreas



Knut Anders Hatlen (JIRA) wrote:
>      [ http://issues.apache.org/jira/browse/DERBY-1146?page=all ]
> 
> Knut Anders Hatlen updated DERBY-1146:
> --------------------------------------
> 
>     Attachment: client.txt
>                 embedded.txt
> 
> The test is not ready to be uploaded yet, but I thought I'd share the
> results I have found so far. The attached files embedded.txt and
> client.txt list all the methods that were missing or incorrect.
> 
> In the embedded driver, 58 methods are missing and one method has
> incorrect return value. The methods belong in these classes:
> 
> org.apache.derby.iapi.jdbc.BrokeredCallableStatement40
> org.apache.derby.iapi.jdbc.BrokeredConnection40
> org.apache.derby.iapi.jdbc.BrokeredPreparedStatement40
> org.apache.derby.iapi.jdbc.BrokeredStatement
> org.apache.derby.impl.jdbc.EmbedBlob
> org.apache.derby.impl.jdbc.EmbedCallableStatement40
> org.apache.derby.impl.jdbc.EmbedClob
> org.apache.derby.impl.jdbc.EmbedConnection40
> org.apache.derby.impl.jdbc.EmbedDatabaseMetaData40
> org.apache.derby.impl.jdbc.EmbedParameterMetaData30
> org.apache.derby.impl.jdbc.EmbedPreparedStatement40
> org.apache.derby.impl.jdbc.EmbedResultSet40
> org.apache.derby.impl.jdbc.EmbedResultSetMetaData
> org.apache.derby.impl.jdbc.EmbedStatement
> org.apache.derby.jdbc.EmbedPooledConnection
> org.apache.derby.jdbc.EmbedXAConnection
> org.apache.derby.jdbc.EmbeddedConnectionPoolDataSource
> org.apache.derby.jdbc.EmbeddedDataSource40
> org.apache.derby.jdbc.EmbeddedXADataSource
> 
> In the client driver, 54 methods are missing. The methods belong in
> these classes:
> 
> org.apache.derby.client.ClientXAConnection
> org.apache.derby.client.am.Blob
> org.apache.derby.client.am.CallableStatement40
> org.apache.derby.client.am.Clob
> org.apache.derby.client.am.ColumnMetaData
> org.apache.derby.client.am.LogicalConnection
> org.apache.derby.client.am.ParameterMetaData
> org.apache.derby.client.am.PreparedStatement40
> org.apache.derby.client.am.Statement
> org.apache.derby.client.net.NetConnection40
> org.apache.derby.client.net.NetDatabaseMetaData40
> org.apache.derby.client.net.NetResultSet40
> org.apache.derby.jdbc.ClientConnectionPoolDataSource
> org.apache.derby.jdbc.ClientDataSource40
> org.apache.derby.jdbc.ClientXADataSource
> 
>> Verify that JDBC4 signatures satisfied
>> --------------------------------------
>>
>>          Key: DERBY-1146
>>          URL: http://issues.apache.org/jira/browse/DERBY-1146
>>      Project: Derby
>>         Type: Improvement
>>   Components: JDBC, Test
>>     Versions: 10.2.0.0
>>     Reporter: Rick Hillegas
>>     Assignee: Knut Anders Hatlen
>>  Attachments: client.txt, embedded.txt
>>
>> Add to the jdbc40 suite a test which verifies that our JDBC4 classes satisfy the expected class/interface signatures.
> 


[jira] Updated: (DERBY-1146) Verify that JDBC4 signatures satisfied

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

Knut Anders Hatlen updated DERBY-1146:
--------------------------------------

    Attachment: client.txt
                embedded.txt

The test is not ready to be uploaded yet, but I thought I'd share the
results I have found so far. The attached files embedded.txt and
client.txt list all the methods that were missing or incorrect.

In the embedded driver, 58 methods are missing and one method has
incorrect return value. The methods belong in these classes:

org.apache.derby.iapi.jdbc.BrokeredCallableStatement40
org.apache.derby.iapi.jdbc.BrokeredConnection40
org.apache.derby.iapi.jdbc.BrokeredPreparedStatement40
org.apache.derby.iapi.jdbc.BrokeredStatement
org.apache.derby.impl.jdbc.EmbedBlob
org.apache.derby.impl.jdbc.EmbedCallableStatement40
org.apache.derby.impl.jdbc.EmbedClob
org.apache.derby.impl.jdbc.EmbedConnection40
org.apache.derby.impl.jdbc.EmbedDatabaseMetaData40
org.apache.derby.impl.jdbc.EmbedParameterMetaData30
org.apache.derby.impl.jdbc.EmbedPreparedStatement40
org.apache.derby.impl.jdbc.EmbedResultSet40
org.apache.derby.impl.jdbc.EmbedResultSetMetaData
org.apache.derby.impl.jdbc.EmbedStatement
org.apache.derby.jdbc.EmbedPooledConnection
org.apache.derby.jdbc.EmbedXAConnection
org.apache.derby.jdbc.EmbeddedConnectionPoolDataSource
org.apache.derby.jdbc.EmbeddedDataSource40
org.apache.derby.jdbc.EmbeddedXADataSource

In the client driver, 54 methods are missing. The methods belong in
these classes:

org.apache.derby.client.ClientXAConnection
org.apache.derby.client.am.Blob
org.apache.derby.client.am.CallableStatement40
org.apache.derby.client.am.Clob
org.apache.derby.client.am.ColumnMetaData
org.apache.derby.client.am.LogicalConnection
org.apache.derby.client.am.ParameterMetaData
org.apache.derby.client.am.PreparedStatement40
org.apache.derby.client.am.Statement
org.apache.derby.client.net.NetConnection40
org.apache.derby.client.net.NetDatabaseMetaData40
org.apache.derby.client.net.NetResultSet40
org.apache.derby.jdbc.ClientConnectionPoolDataSource
org.apache.derby.jdbc.ClientDataSource40
org.apache.derby.jdbc.ClientXADataSource

> Verify that JDBC4 signatures satisfied
> --------------------------------------
>
>          Key: DERBY-1146
>          URL: http://issues.apache.org/jira/browse/DERBY-1146
>      Project: Derby
>         Type: Improvement
>   Components: JDBC, Test
>     Versions: 10.2.0.0
>     Reporter: Rick Hillegas
>     Assignee: Knut Anders Hatlen
>  Attachments: client.txt, embedded.txt
>
> Add to the jdbc40 suite a test which verifies that our JDBC4 classes satisfy the expected class/interface signatures.

-- 
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-1146) Verify that JDBC4 signatures satisfied

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

Rick Hillegas commented on DERBY-1146:
--------------------------------------

This improves the maintainability of this list. Committed derby-1146-v2-enable.diff at subversion revision 399038 with the following difference: I removed VerifySignatures from the list until DERBY-1238 commits. Until then, VerifySignatures fails on missing createArray() and createStruct() methods.

> Verify that JDBC4 signatures satisfied
> --------------------------------------
>
>          Key: DERBY-1146
>          URL: http://issues.apache.org/jira/browse/DERBY-1146
>      Project: Derby
>         Type: Improvement

>   Components: JDBC, Test
>     Versions: 10.2.0.0
>     Reporter: Rick Hillegas
>     Assignee: Knut Anders Hatlen
>      Fix For: 10.2.0.0
>  Attachments: client.txt, derby-1146-v1.diff, derby-1146-v1.stat, derby-1146-v2-enable.diff, embedded.txt
>
> Add to the jdbc40 suite a test which verifies that our JDBC4 classes satisfy the expected class/interface signatures.

-- 
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-1146) Verify that JDBC4 signatures satisfied

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

    Fix Version: 10.2.0.0
     Resolution: Fixed

Committed revision 391310.

> Verify that JDBC4 signatures satisfied
> --------------------------------------
>
>          Key: DERBY-1146
>          URL: http://issues.apache.org/jira/browse/DERBY-1146
>      Project: Derby
>         Type: Improvement

>   Components: JDBC, Test
>     Versions: 10.2.0.0
>     Reporter: Rick Hillegas
>     Assignee: Knut Anders Hatlen
>      Fix For: 10.2.0.0
>  Attachments: client.txt, derby-1146-v1.diff, derby-1146-v1.stat, embedded.txt
>
> Add to the jdbc40 suite a test which verifies that our JDBC4 classes satisfy the expected class/interface signatures.

-- 
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] Closed: (DERBY-1146) Verify that JDBC4 signatures satisfied

Posted by "Rick Hillegas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Hillegas closed DERBY-1146.
--------------------------------


> Verify that JDBC4 signatures satisfied
> --------------------------------------
>
>                 Key: DERBY-1146
>                 URL: https://issues.apache.org/jira/browse/DERBY-1146
>             Project: Derby
>          Issue Type: Improvement
>          Components: JDBC, Test
>    Affects Versions: 10.2.1.6
>            Reporter: Rick Hillegas
>         Assigned To: Knut Anders Hatlen
>             Fix For: 10.2.1.6
>
>         Attachments: client.txt, derby-1146-v1.diff, derby-1146-v1.stat, derby-1146-v2-enable.diff, embedded.txt
>
>
> Add to the jdbc40 suite a test which verifies that our JDBC4 classes satisfy the expected class/interface signatures.

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


[jira] Updated: (DERBY-1146) Verify that JDBC4 signatures satisfied

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

Rick Hillegas updated DERBY-1146:
---------------------------------

    Component: JDBC

> Verify that JDBC4 signatures satisfied
> --------------------------------------
>
>          Key: DERBY-1146
>          URL: http://issues.apache.org/jira/browse/DERBY-1146
>      Project: Derby
>         Type: Improvement
>   Components: JDBC
>     Versions: 10.2.0.0
>     Reporter: Rick Hillegas

>
> Add to the jdbc40 suite a test which verifies that our JDBC4 classes satisfy the expected class/interface signatures.

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