No, I'd like to see the SQL you were able to run from the console.
Note that the error message didn't come from JPA, though. It came from the MYSQL
JDBC driver.
An SQL trace log from JPA would have been useful, but I'd bet that the generated SQL looks something like this: