Hi there,
great, thanks. Our application runs with the 10.x driver. Oracle has
probably changed some interfaces in the 11.x driver
Matthias
On 05/05/2008, at 4:54 PM, Andrus Adamchik wrote:
Never used the 11.x driver. Let me try running the unit tests with it.
Andrus
On May 5, 2008, at 5:18 AM, Lachlan Deck wrote:
Hi there,
We're testing the use of Oracle Database 10g (actually the Express
Edition for testing) via the JDBC Thin driver
(oracle.driver.OracleDriver). e.g., uri:
jdbc:oracle:thin:@host:port:db
We've downloaded the driver jar ojdbc5 11.1.0.6 here:
http://www.oracle.com/technology/tech/java/sqlj_jdbc/index.html
However, we're seeing the below exception when attempting to
create a statement. It's seemingly not surprising as the
OracleStatementWrapper is not public.
Does anyone have any suggestions or work-a-rounds for this?
Thanks
with regards,
--
Lachlan Deck
Caused by: java.lang.IllegalAccessException: Class
org.apache.cayenne.dba.oracle.OracleSelectTranslator can not
access a member of class oracle.jdbc.driver.OracleStatementWrapper
with modifiers "public"
[java] at sun.reflect.Reflection.ensureMemberAccess
(Reflection.java:65)
[java] at java.lang.reflect.Method.invoke(Method.java:578)
[java] at
org.apache.cayenne.dba.oracle.OracleSelectTranslator.createStatement(
OracleSelectTranslator.java:132)
[java] at
org.apache.cayenne.access.jdbc.SelectAction.performAction
(SelectAction.java:72)
[java] at
org.apache.cayenne.access.DataNodeQueryAction.runQuery
(DataNodeQueryAction.java:58)
[java] at org.apache.cayenne.access.DataNode.performQueries
(DataNode.java:230)