persistence@glassfish.java.net

Proposed code changes for generating ddl for identity columns

From: Mitesh Meswani <mitesh.meswani_at_Sun.COM>
Date: Wed, 11 Jan 2006 15:28:45 -0800

Hi King/Tom/Gordon,

Please find attached proposed changes for generating ddl for identity
columns

-A flag is added to ClassDescriptor to remember if the generation
strategy is IDENTITY.
-SequencingProcessor sets the flag via new setter method in
DescriptorMetaData
-DefaultTableGenerator passes on the flag to fieldDef which generates
the ddl correctly if the flag is set.

Thanks,
Mitesh