I’m working on upgrading an existing Wildfly 26 project to Wildfly 31 and as such Hibernate is going from 5.3.28 to 6.4.2
I’m running into an issue where previously using h2 for some local dev and testing worked, but now I’m getting many failures due to what appears to be sql keywords and reserved words.
I’ve confirmed that it is initializing the H2Dialect and it appears to have all the reserved word, but they don’t appear to be getting quote escaped so I’m getting failures with like a table named User where previously this was not an issue.
Now you know why quoting is not enabled by default. Even though quoting allows to use keywords as identifiers, the problem with quoting is that it is case sensitive, so if the case for some of your used names doesn’t match, you’re going to see that problem.