Hi everyone,
We have change oracle 8i to oracle 10g, now we have problems with the
reflection in JAVA.
I've got an IllegalAccessException:
Object value;
value = infoResultSetAndData.getResultSetMethodGet().invoke(rs, new
Object[] {new Integer(infoResultSetAndData.getResultSetIndice())});
thanks for suggestions,
fourmi
Roedy Green - 21 Apr 2006 20:34 GMT
>IllegalAccessException
Thrown when an application tries to load in a class, but the currently
executing method does not have access to the definition of the
specified class, because the class is not public and in another
package.
Perhaps the package name is no longer correct.
Perhaps the method is no longer public, and you have to use some
replacement.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
fourmi - 24 Apr 2006 08:13 GMT
The method "invoke" is public. I've only change oracle server.
Fourmi
Adam Maass - 27 Apr 2006 03:32 GMT
> The method "invoke" is public. I've only change oracle server.
I think that Roedy meant that the reflected method that is gotten by your
call 'infoResultSetAndData.getResultSetMethodGet()' might no longer be
public in the 10g driver. Or a package name used internal to that method
might no longer be correct.
-- Adam Maass