|
|
|
I've tracked this down.
Domain classes have id+version added at runtime. If you have code in src/groovy that references domain classes, those domain classes will be compiled to disk by groovyc. This then prevents the injection of id+version at runtime as the class is found on the classpath already. |
||||||||||||||||||||||||||||||||||||||||||||
This is obviously a bug but opens the wider issue of how identifying domain classes is rather flimsy relying on these attributes.