You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2015/07/21 13:30:04 UTC

[jira] [Created] (OPENJPA-2602) OracleDictionary uses reflection way too often

Mark Struberg created OPENJPA-2602:
--------------------------------------

             Summary: OracleDictionary uses reflection way too often
                 Key: OPENJPA-2602
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2602
             Project: OpenJPA
          Issue Type: Improvement
          Components: jdbc
    Affects Versions: 2.4.0
            Reporter: Mark Struberg
            Assignee: Mark Struberg
             Fix For: 2.4.1


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)