The concrete DELETE JPQL Statement is translated to wrong SQL statement for H2 underlying database. The test case provided as gradle project. Executing “gradle test” should be enough.