Java not recognising SQL statements to retrieve data from database
Joined: Nov 04, 2012
Hi all, I have a problem with my Java application. The application is based on users who have to enter their username (their email address) so as to fill in an input form. The functionality of the input form is that the user has to enter for book names in order of priority. In the application, suppose a user's email address is "email@example.com"....he will have to input only "david.ferno" in the JTextBox...and a SQL LIKE statement is used check the corresponding User ID from the "bookuser" table and store it into the "priority" table along with the book priority choices.
The issue is that everytime java is displaying syntax error. I can't figure out where is my mistake...please help.
Joined: Mar 22, 2005
Which error is that? In which line of code does it occur?