
|
If you were logged in you would be able to see more operations.
|
|
|
|
Issue Links:
|
Relates
|
|
|
|
This issue relates to:
|
|
HHH-3456
Make o.h.id.enhanced.SequenceStyleGenerator more extension-friendly
|
|
|
|
|
|
|
|
As currently implemented, the org.hibernate.id.enhanced.TableGenerator class declares each member variable as private (instead of protected) which makes extending the class difficult at the very least. For what it's worth, I'm overriding the configure method to base the segment_value off of the "target_table" instead of the "segment_value" - doing so allows me to have one row for each of my entities each of which extend an abstract BaseEntity (which is the class in that defines the id column). Using the enhanced TableGenerator without extension creates one row only.
|
|
Description
|
As currently implemented, the org.hibernate.id.enhanced.TableGenerator class declares each member variable as private (instead of protected) which makes extending the class difficult at the very least. For what it's worth, I'm overriding the configure method to base the segment_value off of the "target_table" instead of the "segment_value" - doing so allows me to have one row for each of my entities each of which extend an abstract BaseEntity (which is the class in that defines the id column). Using the enhanced TableGenerator without extension creates one row only. |
Show » |
|