Does 7.5 allow for
<generator class=”assigned” />
on auto-increment fields to be set to…
<generator class=”increment” />
… in the RE wizard?
For MySQL with integer auto-increment fields, assigned and identity do not seem to work with auto-increment id fields.
On initial RE, that means, for me, 10 ???.hbm.xml files have to be updated. Also, the constructor and super in the ????.java file must also have the id field removed.
After the initial RE, it’s usually a matter of 1 or 2 changes such as when a field is added. Even so, it’s easy to forget making the manual change and then you have to go back and do it when you encounter an error in testing.
I know, in the past, there was a file that could be changed so that increment was generated instead of identity or assigned. My main reason for not wanting to do that is that if I upgrade to a newer version of MyEclipse, I have to make that change again.