This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Records are visible but not accessible error" Watch "Records are visible but not accessible error" New topic
Author

Records are visible but not accessible error

keerthana kuruba
Greenhorn

Joined: May 12, 2011
Posts: 22
Hi,
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.


S.D. MADHAN
Not many get the right opportunity !
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Records are visible but not accessible error
 
Similar Threads
Record Locking in multi-user
going back/refreshing page
problem with validation between database and jsp page
ManyToMany assoicate delete join table entry
JTable update (urgent!)