db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <Knut.Hat...@Sun.COM>
Subject Re: Error while connecting to existing database with create=true
Date Mon, 16 Apr 2007 09:21:53 GMT
Saurabh Vyas <Saurabh.Vyas@Sun.COM> writes:

> Hi All,
> I got the following error while I tried to connect to database which
> was already existing!!!!!!(unlikely to the warning message)
> Am I missing anything or can anyone please tell me what went wrong in
> this scenario.
> Apart when I deleted the database dir (mydb in my case) and then tried
> to connect again, things went fine (as expected)
> $ java org.apache.derby.tools.ij
> ij version 10.3
> ij> connect 'jdbc:derby:mydb;create=true';
> java.lang.NoSuchMethodError:
> org.apache.derby.iapi.services.io.ArrayInputStream.setLimit(II)I

Hi Saurabh,

The signature of the setLimit() method was changed recently, so you
probably need to run "ant clobber" and rebuild Derby.

Knut Anders

View raw message