I'm trying to get a generator to work for both the id column and use another sequence for a different, non-id column.
This doesn't seem to do anything. The column is still null after doing a save (in integration tests).
static mapping = {
id generator: 'sequence', params: [sequence: 'id_seq']
otherCol generator: 'sequence', params: [sequence: 'other_seq']
version true
}