[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3249) Enhanced TableGenerator should declare member variables as protected
Tom Muldoon (JIRA)
noreply at atlassian.com
Wed Apr 23 14:09:33 EDT 2008
Enhanced TableGenerator should declare member variables as protected
--------------------------------------------------------------------
Key: HHH-3249
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3249
Project: Hibernate3
Issue Type: Improvement
Components: core
Affects Versions: 3.2.6
Reporter: Tom Muldoon
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list