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

Calling setFixedCHAR on newer Oracle JDBC drivers fails with an IllegalAccessException

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.2, 3.0.0
    • Fix Version/s: 2.4.3, 3.0.0
    • Component/s: jdbc
    • Labels:
      None

      Description

      Newer Oracle JDBC drivers have the OraclePreparedStatementWrapper as package scoped class.
      That means that invoking any method via reflection will fail with an IllegalAccessException despite those methods (in my case setFixedCHAR) is public.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: