Have a Gen 8.6 model entity with Number attribute which has Category "Auto Number".
After Java Web Generation the generated code sets the attribute in the insert statement to a zero value and seems to be ignoring the "Auto Number".
Gen 8.6 Workstation Toolset
The attribute had been changed to Auto Number in the Data Model but a Retransformation had not been done in the Data Structure List or alternatively the attribute had not been deleted and reimplemented in the DSL.
That is per doc page Gen™ 8.6 > Developing > Designing > Designing Client-Server Applications > Designing the Data Structure > Retransforming the Data Model
Therefore the Java generated code had not picked up the Auto Number change.
After the attribute was reimplemented in the Data Structure List the newly generated code was correct.