Eliminate dynamic return type processing in generated select methods.
----------------------------------------------------------------------
Key: OPENEJB-820
URL: https://issues.apache.org/jira/browse/OPENEJB-820
Project: OpenEJB
Issue Type: Improvement
Components: cmp2
Reporter: Rick McGuire
Assignee: Rick McGuire
Priority: Minor
Fix For: 3.0.1
The code generated for ejbSelectxxxx methods does it's return type checking at
runtime rather than generating code optimized for a given return type. In
particular, for primitive types, it unboxes the values and then reboxes them
again so the generated code can then unbox them once again. By having an
execute method for each of the return possibilities, the runtime execution will
be cleaner.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.