Hello!
What implementation of JPA do you use?
Hibernate ORM 5.x doesn't support H2 2.0.
Hibernate ORM 6.0 is under development, it already has some fixes and others are on the way.
There are two possible temporary workarounds:
1. You can add ;MODE=LEGACY to JDBC URL of H2 (you need H2 2.0.204 or later version).
2. You can override H2Dialect and fix wrong SQL produced by it.
EclipseLink and OpenJPA may have own issues, but I have no information about them. LEGACY mode may also help, however.