When servlet code is executed i get following error
Internal Exception: java.sql.SQLSyntaxErrorException: 'USER_ID' is not a column in table or VTI 'APP.USERS'.
Error Code: -1
Call: INSERT INTO app.users (user_id, username, category, password) VALUES (?, ?, ?, ?)
bind => [1, somename, 4, passsomeone]
Query: InsertObjectQuery(examples.entities.User[id=1, somename, passsomeone, 4])
What is problem, why i am getting this exception?
We will have a future if we save Nature!
Joined: Dec 26, 2007
It is solved, i can save that entity. There were two databases in my machine. One was installed
for NetBeans IDE 6.9.1, another was installed by me in /root/. I changed the port and now connected
to right database.