[
https://issues.apache.org/jira/browse/DERBY-6511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13939148#comment-13939148
]
Knut Anders Hatlen commented on DERBY-6511:
-------------------------------------------
Thanks for fixing this, Rick.
Just a heads up in case someone wants to backport the fix: Most of the
valueOf() methods used in the fix were not added until Java 5, so the code
generator needs to generate different code on Derby versions that are supposed
to work on older Java versions. For example, it could use the wrapper classes'
constructors instead of the valueOf() methods. (We should still use valueOf()
on trunk, though, since it's more efficient than the constructors.)
> 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: 10.11.0.0
> Reporter: Rick Hillegas
> Assignee: Rick Hillegas
> Attachments: derby-6511-01-aa-fixPrimitiveToWrapper.diff,
> 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
(v6.2#6252)