Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating DSN

 
Rajesh Kumar
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're welcome! I hope you stick around the ranch and help others out that have the same problems as you.
happy coding!
Jamie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic