Syntax issue with HSQL sequence: `NEXTVAL` instead of `NEXT VALUE`
问题 I have webapps deployed on a Jetty server and connected to HSQLDB databases located on the HSQLDB server. I get this error when I try to create an entity: ERROR org.hibernate.util.JDBCExceptionReporter Unexpected token: NEXTVAL in statement [/* dynamic native SQL query */ SELECT nextval('campagne_sequence')] I initialize the sequence as follows: CREATE SEQUENCE PUBLIC.CAMPAGNE_SEQUENCE START WITH 1 INCREMENT BY 1 In my webapp, I set the Hibernate dialect with org.hibernate.dialect.HSQLDialect