Hi,
U are using the dsn when the database connection is made through the
jdbc-odbc bridge which is the type 1 driver.
Try using oracle thin client which is a pure java stuff(type 4). U don't
have to create any dsn for that. I don't know of any such driver for
MySQL.
or did i get the issue wrong:-)
On Wed, 12 Jun 2002, phani wrote:
> HI,
> what i mean ask is i want to connect all the databases using a driver which doesn't
>require a dsn...
>
> Example: using mysql driver the code is something like bellow;
> Class.forName("org.gjt.mm.mysql.Driver");
>
>
>con=DriverManager.getConnection("jdbc:mysql://192.168.1.136:3306/test?user=xxx&password=yyy");
>
> The above said driver doesn't require any dsn to connect...
>
> so i need some driver to connect MS SQL and ORACLE Database with out using any
>dsn....
>
> I searched the web but no luck...
>
> Thanks in advance.
>
> phani
>
>
>
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".