Its better you check this site
http://developer.java.sun.com/developer/codesamples/database/
you will get detailed inmformation.
all the best
Sachin
----- Original Message -----
From: Rakesh Rajendran <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 09, 1999 7:57 PM
Subject: problem with Class.forName method while loading JdbcOdbcDriver
> Hi ,
> I am getting a java.security.AccessControlException : access
> denied(java.lang.RuntimePermission accessClassInPackage.sun.jdbc.odbc )
> while executing the following piece of compiled code..
>
> try {
> Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
> theConnection = DriverManager.getConnection(DB, USER ,
PASSWORD);
> }
> It would be great , if somebody could guide me out thru this
> one..
>
> Regards ,
>
> R2
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html