You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-user@db.apache.org by Rick Hillegas <Ri...@Sun.COM> on 2009/04/14 17:45:41 UTC
Re: Weird
ArtemGr wrote:
> I got the following exception: http://gist.github.com/95205
> which is triggered by the following code:
> rs = conn.getMetaData().getIndexInfo(catalogName, schemaName, tableName, false,
> true);
>
> What can this possibly mean?
>
>
Hard to say but it looks like a bug. Can you provide some more information:
1) what are the versions of Derby running client-side and server-side?
2) can you provide a little standalone program which triggers this bug?
Thanks,
-Rick
Re: Weird
Posted by Rick Hillegas <Ri...@Sun.COM>.
ArtemGr wrote:
> Rick Hillegas <Ri...@...> writes:
>
>> ArtemGr wrote:
>>
>>> I got the following exception: http://gist.github.com/95205
>>>
>> Hard to say but it looks like a bug. Can you provide some more information:
>>
>> 1) what are the versions of Derby running client-side and server-side?
>>
>
> 10.4.2.0, embedded.
>
>
>> 2) can you provide a little standalone program which triggers this bug?
>>
>
> It happens from inside the DataNucleus JDO,
> I have a small test program in Scala: http://gist.github.com/95253
> but if you need I might try making one in Java.
>
Thanks, that would help. The following test program runs fine for me on
10.4.2.0:
import java.sql.*;
public class z
{
public static void main( String[] args ) throws Exception
{
z me =new z();
me.execute( args );
}
private void execute( String[] args )
throws Exception
{
Class.forName( "org.apache.derby.jdbc.EmbeddedDriver" );
Class.forName( "org.apache.derby.jdbc.ClientDriver" );
Connection conn = DriverManager.getConnection(
"jdbc:derby:derbyDB;create=true" );
ResultSet rs = conn.getMetaData().getIndexInfo( "", "", "",
false, true);
rs.close();
}
}
Thanks,
-Rick
>
>> Thanks,
>> -Rick
>>
>
>
Re: Weird
Posted by ArtemGr <ar...@gmail.com>.
Rick Hillegas <Ri...@...> writes:
> ArtemGr wrote:
> > I got the following exception: http://gist.github.com/95205
>
> Hard to say but it looks like a bug. Can you provide some more information:
>
> 1) what are the versions of Derby running client-side and server-side?
10.4.2.0, embedded.
> 2) can you provide a little standalone program which triggers this bug?
It happens from inside the DataNucleus JDO,
I have a small test program in Scala: http://gist.github.com/95253
but if you need I might try making one in Java.
> Thanks,
> -Rick