You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/02/27 14:14:45 UTC
[jira] [Commented] (OPENJPA-2689) Calling setFixedCHAR on newer
Oracle JDBC drivers fails with an IllegalAccessException
[ https://issues.apache.org/jira/browse/OPENJPA-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15885838#comment-15885838 ]
ASF subversion and git services commented on OPENJPA-2689:
----------------------------------------------------------
Commit 1784568 from [~struberg] in branch 'openjpa/branches/2.4.x'
[ https://svn.apache.org/r1784568 ]
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)