users@glassfish.java.net

Derby 10.2.1.6 doesn't work with GF v2 B25

From: David Harrigan <dharrigan_at_gmail.com>
Date: Fri, 10 Nov 2006 04:39:58 -0800 (PST)

Hi,

I posted this on the Forums, but no feedback, and I've logged a bug. I think
this is quite an important issue that affects the adoption of the latest
stable released version of Derby with GF. It's also quite serious in the
fact that 10.2.1.6 is the officially supported version from Sun as well!
Here are the URLs (I've recently tested this with B25 and the same issue
applies):

http://forums.java.net/jive/thread.jspa?threadID=19077
https://glassfish.dev.java.net/issues/show_bug.cgi?id=1305

I've got a packaged database (jar) in my WEB-INF/lib dir that was created
from the released 10.2.1.6 version of derby. I'm trying to open up the
database using this supported protocol:

jdbc:derby:classpath:searchdb.jar

However, I'm getting an exception back:

SQL Exception: Catalogs at version level 'null' cannot be upgraded to
version level '10.1'.

Now, that's the problem, this is what I know:

Recreating and repackaging my database as 10.1.3.1 version works fine (i.e.,
my app boots).

Is this because 10.1.3.1 of Derby jars (derbyclient) is in the classpath? I
notice it's in the javadb directory.

-=david=-

-- 
View this message in context: http://www.nabble.com/Derby-10.2.1.6-doesn%27t-work-with-GF-v2-B25-tf2607374.html#a7275988
Sent from the java.net - glassfish users mailing list archive at Nabble.com.