gorm - Issues with GRAILS UUID and PSQL -
i trying use uuid2 generator on grails 2.4.4, psql version 9.4.4. current model setup is.
class classa { uuid id static mapping = { id generator:'uuid2', name:'uuid2', type:'pg-uuid' tableperhierarchy false } }
and
class classb extends classa { static constraints = { } static mapping = { } }
but when perform run-app error.
error context.grailscontextloaderlistener - error initializing application: error evaluating orm mappings block domain [classb]: null message: error evaluating orm mappings block domain [classb]: null
any ideas did wrong?
rename uuid id
uuid uuid2
or remove name: uuid2
. far know name in mapping assign id generator 1 of properties.
Comments
Post a Comment