aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Runtime permission in JDBC" Watch "Runtime permission in JDBC" New topic
Author

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