This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
5. But when I run this Servlet it gives me the following error
"javax.ejb.FinderException: Find failed: java.sql.SQLException: Syntax error or access violation message from server: "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM test t0_Test WHERE' at line 1""
Please help me to go further on this. I am totally stuck here and I coukld not realise where I made the mistake.
Sam, please do not resurrect 3 year old posts, but instead [url=]tell the details[/url] in a new post. For example, do you really have a table called 'fortunedb' located in database 'test'? (That is a horrible table name, by the way, and I would never put anything into the 'test' database.)