in my database I have the following:
id bigint NOT NULL DEFAULT nextval('seq_telefonosnormalizados'::regclass),
While in grails I have the following:
static mapping = {
id column:"id", sqlType:"long", generator:'sequence', params:[sequence:'seq_telefonosnormalizados']
version false
}
I'm using Grails 2.5.1.
Does anyone know why it would not be working?
Of course, thank you very much!