db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristian Waagan <kristian.waa...@oracle.com>
Subject Re: buddy testing for JDBC 4.1
Date Tue, 15 Mar 2011 08:13:00 GMT
Den 14.03.2011 19:25, skrev Lily Wei:
>
> Hi:
>
>     I have a question about JDBC 4.1 
> CallableStatement.getObject(String.Classas).
>
> Does this already implement for 
> org.apache.derby.client.am.CallableStatement40?
>
> I was testing against CallableStatement40.getObject(string colName, 
> Date.class)
>
> and get an exception: org.apache.derby.client.am.SqlException: JDBC 
> method is not yet implemented.
>

Hi Lily,

This is as expected, see http://wiki.apache.org/db-derby/JDBCSupport :
Derby does not support named parameters for CallableStatement.

I don't know if there already is a JIRA tracking this or not.


Regards,
-- 
Kristian

>     Should I fire a JIRA issue for this?
>
>     This seems to confirm by line in 
> CallableStatementTest.vetCoercionError line 614:
>
>
>
>             // String overloads not implemented for CallableStatements
>
>             if ( wrapper.getWrappedObject() instanceof 
> CallableStatement ) { return; }
>
>             try {
>
>                 wrapper.getObject( colName, candidate );
>
>                 fail( "Did not expect to get a " + candidate.getName() );
>
>             }
>
>             catch (SQLException e)
>
>             {
>
>             }
>
>
> Thanks,
>
> Lily
>
> ------------------------------------------------------------------------
> *From:* Lily Wei <lilyweiderby@gmail.com>
> *To:* derby-dev@db.apache.org
> *Cc:* lilywei@yahoo.com
> *Sent:* Fri, March 4, 2011 5:09:23 PM
> *Subject:* buddy testing for JDBC 4.1
>
> Hi There:
>
>     I am interested to do buddy testing for JDBC 4.1 for the 10.8 
> release candidate.
>
> In order to do this, I am assuming I need to have JDBC 4.1 spec or 
> spec that relate to
>
> what Derby implement for 10.8 release. On top of that, I think I need 
> to get an OpenJDK 7 binary distribution for Windows 7? Where can I get 
> that?
>
> Thanks,
>
> Lily
>
>


Mime
View raw message