aspose file tools
The moose likes JDBC and Relational Databases and the fly likes Records are visible but not accessible error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Records are visible but not accessible error" Watch "Records are visible but not accessible error" New topic

Records are visible but not accessible error

keerthana kuruba

Joined: May 12, 2011
Posts: 22
I have developed one application and running through tomcat 7.0. I'm accessing my database using premiumsofts Navicat for mysql. Records are visible but not accesible for the user table. especially when i create new user in register page.It showing database is updated message and could find the updated reocords in Navicat user table.But i can login with the updated user only.not with the previous users . I have the following table columns accoutID, UserID,userType,password,lastLogin,Time,isActive fields in user table.But where as in register page i have kept only accountID,userID,password fileds to register a new user then a submit button.Previously it was working fine with every user.After some days when i runned the application not validating any user except the new user value.How to solve this problem .is there any problem with the code or with sql database.please tell me how can every user in the database can access the web application.
Madhan Sundararajan Devaki
Ranch Hand

Joined: Mar 18, 2011
Posts: 312

You may need to add the user as a user of the database, assign a role to the user and use the user table as one of the tables you check when you login to your application.

Not many get the right opportunity !
jQuery in Action, 2nd edition
subject: Records are visible but not accessible error