After figthing a while with the odbc driver for Linux and wasting lot of
time configuring the windows machine, i decided to migrate the database to
mSQL, but now that i got a functional code (access and reads the data),
when i insert it into the applet, it doesn't work...
Is there anything extra that i must do in the Applet code to make it run?

Here is the code on both programs :

String dB="some_database";
String url="some_domain";
Class.forName("com.imaginary.sql.msql.MsqlDriver");
Connection con=DriverManager.getConnection("jdbc:msql://"+url+"/"+dB);
Statement stm=con.createStatement();
String sqlselect="Select * from foo where bar like '_string'";
resultSet=stm.executeQuery(sqlselect);

The one that i use to send messages through System.out.println is the one
that works...

Any ideas or comment are welcome...

Regards,

_______________________________________________________
Urivan Saaib
Email: [EMAIL PROTECTED]



----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to