File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases 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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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 access denied (java.lang.RuntimePermission accessClassInPackage.sun.jdbc.odbc)
Please tell me how to grant the runtime permission in the programme.
I agree. Here's the link:
subject: Runtime permission in JDBC
It's not a secret anymore!