Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2602

OracleDictionary uses reflection way too often

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.4.1
    • jdbc
    • None

    Description

      OracleDictionary has many Class.forName, getMethod and getField for oracle.jdbc.OraclePreparedStatement.
      This gets executed every time a setString gets used. Which can create quite some overhead.

      We might check those Members at construction time and use this info later at runtime.

      Attachments

        1. OPENJPA-2602.4review.2.patch
          8 kB
          Mark Struberg
        2. OPENJPA-2602.4review.4.patch
          8 kB
          Mark Struberg

        Activity

          People

            struberg Mark Struberg
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: