hi pankaj,
dunno if this will help u. but last time i was working with ODBC on Linux, i used the ODBC-ODBC bridge also known as OOB. Configuration of that was pretty well documented.
I would suggest 2nd alternative to u. Its better than limiting ur application code to particular DB's only.
Hth, Shailesh
--- Pankaj Jangid pankaj_jangid@yahoo.com wrote:
Hi All,
I have a java application which uses jdbc-odbc bridge. Now I have two options for deploying that application on a linux machine:-
- Modify the source to use JDBC driver to connect to
MSSQL server.
- Configure ODBC DSN on linux machine.
Which method is better ? I tried configuring ODBC DSN but couldn't succeed.
One more doubt. If I modify the source to use JDBC driver (freetds-java) then is it sufficient to modify only Class.forName() statement ?
regards
-- Pankaj Jangid National Centre for Software Technology
Yahoo-msnger : pankaj_jangid GPG Public Key : http://ashoka.ncst.ernet.in/~pankaj/gpg.txt
ATTACHMENT part 2 application/pgp-signature
__________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com