db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6511) java.lang.NoSuchMethodError chaining a function and procedure
Date Mon, 17 Mar 2014 12:57:42 GMT

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

Knut Anders Hatlen commented on DERBY-6511:

Maybe we need to make MethodCallNode.generateAndCastOneParameter() generate a call such as
java.lang.Integer.valueOf(int) in the case where argumentType is the corresponding primitive
type to parameterType. That seems to be where the result from the inner function call is pushed
to the stack as an int instead of an Integer.

> java.lang.NoSuchMethodError chaining a function and procedure
> -------------------------------------------------------------
>                 Key: DERBY-6511
>                 URL: https://issues.apache.org/jira/browse/DERBY-6511
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions:
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>         Attachments: derby-6511.sql, derby-6511.sql
> java.lang.NoSuchMethodError is raised when calling a procedure which takes an Integer
argument and passing it the result of a function which returns an int. The error is raised
in generated code.

This message was sent by Atlassian JIRA

View raw message