A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
dsn less connections
Joined: Oct 01, 2003
Oct 15, 2003 03:18:00
I am new to
programming. Can you please tell me how to make dsn less connection to major databases like SQL Server, Oracle etc.
Thanking u all in advance
Joined: Feb 07, 2005
Feb 09, 2005 04:42:00
i am also trying to connect sql server with
application.i got somthing from net but is donot work in muy code,i think it need some kind of driver.
Properties p=new Properties();
sConnect =new String("jdbc:sw8://192.168.0.11/,");
con = DriverManager.getConnection(sConnect,p);
author & internet detective
Joined: May 26, 2003
Feb 09, 2005 18:30:00
Welcome to JavaRanch!
Yes, you need a driver. It comes with your database. As an alternative, you can download the JDBC driver from
Also, note that the original question is a year and a half old. It's ok to start a new thread in the future.
OCA 8 book
How To Ask Questions The Smart Way
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: dsn less connections
JDBC + MS Access without ODBC data source
jdbc:odbc with DSN less connection for MS Access
dsn less connection
DSN too long- ODBC Error. i've tried everything!
What sort of connectivity does JDBC provides.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015