Win a copy of Grokking Bitcoin this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

Creating DSN  RSS feed

 
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
 
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
 
Because those who mind don't matter and those who matter don't mind - Seuss. Tiny ad:
Create Edit Print & Convert PDF Using Free API with Java
https://coderanch.com/wiki/703735/Create-Convert-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!