Saeed Iqbal wrote:
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: FUNCTION appfuse_light.nextval does not exist
I just came across this error in my build, and I think it is down to using the wrong hibernate.dialect. In my case I still had the
org.hibernate.dialect.PostgreSQLDialect set by mistake even though I was connecting to mysql.
Changing hibernate.dialect to org.hibernate.dialect.MySQLDialect fixed the problem.