• 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
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

error in data base connection  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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”);
 
Author and ninkuma
Marshal
Posts: 66822
168
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"siva dct", please check your private messages for an important administrative matter.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!