• Post Reply Bookmark Topic Watch Topic
  • New Topic

db connectivity with out dsn& portable db

 
Ranganath Ranganaths
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ranchers,

I wanna know is there any db which doesnt need any dsn for connection.. with java swings.. and i also need database which is portable .. i mean when i convert my application to exe and setup file i want my data base to be with in that setup and when ever i install it in different system it should be installed there .. is it possible to do so?.. If any one is aware of it .. please throw light at it.. thank you


reguards
Ranganath.S
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36027
430
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ranganath,
All databases require a connection string. That connection string can contain "localhost" though so it is portable.

MySQL among others have licenses for if you want to distribute a database with your application. They do charge for it though.
 
Curse your sudden but inevitable betrayal! And this tiny ad too!
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!