Closed bobbywarner closed 8 years ago
I've done some tests and it's not a problem of the plugin but something related to Grails. I tried with a very simple project (https://github.com/ilopmar/pg-extensions-grails3-jsonb-example-app) and with Grails 3.0.10 or above the problem exist.
You can clone the project, change the grails version to 3.0.9 with sdk and in gradle.properties
and the project starts without problems.
I need to dig into grails source code to see what has changed and then check the values correctly in the plugin.
@ilopmar Ah, ok. Sounds good. Thanks!
It seems that this commit may be related to the change: https://github.com/grails/grails-core/commit/50cf2449787809d8779d2a7b5c5dba9b7173046a
Fixed in 4.6.5
:smile:
With previous versions of the plugin, you did not have to specify the
sequence_per_table
config setting and it would default to true. Looks like now you do have to explicitly set it otherwise you get a NPE on this line -- https://github.com/kaleidos/grails-postgresql-extensions/blob/master/src/main/groovy/net/kaleidos/hibernate/PostgresqlExtensionsDialect.java#L60