Actually... for my purposes, this may actually need to be a little bit different to account for @TableGenerator and @SequenceGenerator. See org.hibernate.cfg.AnnotationBinder#buildIdGenerator for the details. Accounting for that would allow me to really remove "use new generators" as a flag and consistently handle things in a polymorphic manner.
For now, I am going to push what I have...
|