aspose file tools*
The moose likes JDBC and the fly likes Creating DSN Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Creating DSN" Watch "Creating DSN" New topic
Author

Creating DSN

Rajesh Kumar
Greenhorn

Joined: Nov 16, 2001
Posts: 28
Hai Friends
A Strange Doubt.
Can we create the dsn name through Java Program.
When we are trying to connect to the database using Jdbc-Odbc Drivers we need to specify the dsn name.
Usually, that dsn name we have to create manually in control panel---odbc32 adminstrator.
Is it possible to create the dsn name using a java program without going for odbc32 administrator.
Thankyou VeryMuch
Yours
Rajesh
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

what database are you trying to connect to?
I've heard this works for SQL Server using the jdbcdbc bridge:

I use this one to connect to Access:


Jamie
Rajesh Kumar
Greenhorn

Joined: Nov 16, 2001
Posts: 28
Dear Jamie,
Thankyou VeryMuch
Your Code helped me a Lot
Please Continue ur Help...by giving Good Solutions to the Members
Thanks Once Again.
Yours
Rajesh
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

You're welcome! I hope you stick around the ranch and help others out that have the same problems as you.
happy coding!
Jamie
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating DSN