• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

error in data base connection

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
In our application we are using jdbc:odbc:driver to connect with MSAccess database (.mdb), The data base is password protected,, when I run the application and access the database the user name, application path and the password is stored in the system registry automatically . The path where the details are stored is
I don’t know the reason behind this update in the registry, how can I remove the entry from the registry using java code.
Requirement:
The password should not be updated in the registry , how can I avoid this?
The sample code is
String database1 = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=";

database1+=sample.mdb+";PWD="+”sample”;
con = DriverManager.getConnection(database1 ,”admin”,”sample”);
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"siva dct", please check your private messages for an important administrative matter.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic