I have made a class and a method to fetch the data from Excel thru JDBC:ODBC and it is working fine. When I want to get data from another class I am getting an Exception like
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.jdbc.odbc)
Please tell me how to grant the runtime permission in the programme.
Thanks
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.jdbc.odbc)
Please tell me how to grant the runtime permission in the programme.
Thanks