|
-
September 25th, 2000, 10:11 AM
#1
JDBC in swing
i am writing the following code in my class which extends JApplet
class.forName(oracle.jdbc.driver.OracleDriver);
exception thrown is driver not found
but when i run this program in a simple class extending nothing the code works fine
Please tell if this is some version problem or something else. i am using java1.2
Thanks
-
September 25th, 2000, 01:18 PM
#2
Re: JDBC in swing
Hi, If u try to get a connection to ur DB from ur Applet, the Applet Security Manager will not allow u to do this and will throw Exception. Thats the reason ur code is working in other case.
Am not sure how we will get connection to DB from an Applet..
Sreeni
#If this post is valid to u, then dont forget to rate it#
-
October 9th, 2000, 04:22 AM
#3
Re: JDBC in swing
Hi,
sorry, that´s not true.
I coded a sample where an Applet can read from / write into a database (MS Access).
My code is at my homepage www.lochmann.de
Click "downloads" password "dl".
I use the JDBC ODBC bridge (...and I would like to know how to connect database without the bridge....any ideas by the way?).
I think the problem is that the driver (ORACLE in this case) isn´t installed or not found...
If I am wrong, please let me know,
Andi
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|