I have an entity class called User, and when I perform persistence testing with Arquillian, I always have an error ...
Internal Exception: java.sql.SQLSyntaxErrorException: Syntax error: Encountered "USER" at line 1, column 13.
... because of the class name " User". I guess that Useris a reserved keyword. When I change my entity name to User_, it works great.
Do I need to change the name of my entity? Is there anything else I can do to fix this?
source
share