You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Rick Hillegas (JIRA)" <ji...@apache.org> on 2011/08/02 14:17:27 UTC

[jira] [Closed] (DERBY-5366) ClassNotFoundException when invoking a table function stored in a jar file in the database which extends or implements one of the classes/interfaces in org.apache.derby.vti

     [ https://issues.apache.org/jira/browse/DERBY-5366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Hillegas closed DERBY-5366.
--------------------------------

    Resolution: Duplicate

This is a duplicate of DERBY-5352, which Brett has analyzed.

> ClassNotFoundException when invoking a table function stored in a jar file in the database which extends or implements one of the classes/interfaces in org.apache.derby.vti 
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-5366
>                 URL: https://issues.apache.org/jira/browse/DERBY-5366
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.8.1.6
>            Reporter: Rick Hillegas
>         Attachments: DummyVTI.java, derby-5366.sql
>
>
> The class loader created by setting the derby.database.classpath does not see the Derby classes. This means that you can't use table functions which implement VTITemplate if you store those functions in a jar file in the database and then wire that jar file into the database-specific classpath. I will attach a repro. This problem was reported by Brett Berqquist in an email thread titled "Problem in trying to get a Restricted Table Function loaded".

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira