wood burning stoves 2.0*
The moose likes JDBC and the fly likes Runtime permission in JDBC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Runtime permission in JDBC" Watch "Runtime permission in JDBC" New topic

Runtime permission in JDBC

Rakesh Sharma
Ranch Hand

Joined: Dec 29, 2000
Posts: 37
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.
subject: Runtime permission in JDBC
Similar Threads
Pointbase : How can I create a stored procedures with Pointbase database?
Running exe files with java
Composite Unique Key problem in Hibernate.
Socket Permission in JavaPolicy file..
Unlocking Android: Regarding Dynamic Class Loading