Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-820

Eliminate dynamic return type processing in generated select methods.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.1
    • cmp2
    • None

    Description

      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.

      Attachments

        Activity

          People

            rickmcguire Richard McGuire
            rickmcguire Richard McGuire
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: