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

Calling setFixedCHAR on newer Oracle JDBC drivers fails with an IllegalAccessException

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.2, 3.0.0
    • 2.4.3, 3.0.0
    • jdbc
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment