db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <Knut.Hat...@Sun.COM>
Subject Re: Using Derby-style table functions
Date Sat, 25 Apr 2009 17:44:18 GMT
Tim Dudgeon <tdudgeon@informaticsmatters.com> writes:

> Rick Hillegas wrote:
>> Hi Tim,
>> If you are running the table function from a jar file stored in your
>> database, you may have run into the following bug:
>> http://issues.apache.org/jira/browse/DERBY-4126 This bug is fixed in
>> the current 10.5 release candidate which we are testing.
>> Hope this helps,
>> -Rick
> Yes, I am loading jar into DB, so this is almost certianly the problem.
> I was not aware of any other way. How else can I access "external" classes?

You can add the jar to the classpath of your application if you're using
embedded Derby. Using ij, you would do something like this:

java -cp /path/to/MyTableFunc.jar:/path/to/derbyrun.jar \

Knut Anders

View raw message