[jira] [Commented] (OPENJPA-2689) Calling setFixedCHAR on newer Oracle JDBC drivers fails with an IllegalAccessException

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OPENJPA-2689) Calling setFixedCHAR on newer Oracle JDBC drivers fails with an IllegalAccessException

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/OPENJPA-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15885900#comment-15885900 ]

ASF subversion and git services commented on OPENJPA-2689:
----------------------------------------------------------

Commit 1784577 from [~struberg] in branch 'openjpa/trunk'
[ https://svn.apache.org/r1784577 ]

OPENJPA-2689 prevent IllegalArgumentException with package scoped OraclePreparedStatementWrapper classes

> Calling setFixedCHAR on newer Oracle JDBC drivers fails with an IllegalAccessException
> --------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-2689
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2689
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jdbc
>    Affects Versions: 2.4.2, 3.0.0
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 2.4.3, 3.0.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)