db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-4126) You can't invoke a table function which is stored in a jar file inside the database
Date Fri, 27 Mar 2009 21:50:50 GMT

    [ https://issues.apache.org/jira/browse/DERBY-4126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12690121#action_12690121

Rick Hillegas commented on DERBY-4126:

Ported 759360 from main to 10.5 branch at subversion revision 759363.

> You can't invoke a table function which is stored in a jar file inside the database
> -----------------------------------------------------------------------------------
>                 Key: DERBY-4126
>                 URL: https://issues.apache.org/jira/browse/DERBY-4126
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions:,,,
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>         Attachments: derby-4126-01-aa-useSessionClassloader.diff, derby-4126-01-ab-useSessionClassloader.diff
> You get a ClassNotFoundException when you try to invoke a table function which lives
in a jar file stored inside the database. This is because FromVTI.implementsDerbyStyleVTICosting()
looks up the class using Class.forName() rather than using the session classloader. A similar
bug is in FromVTI.getVTICosting(). This bug was reported by Krzysztof N in the following user
list thread: http://www.nabble.com/Uinable-to-use-Table-function-due-to-java.lang.ClassNotFoundException--while-class-is-clearly-reachable..-td22478383.html#a22699492

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message