[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3671) The revision type field is not persisted when setting a custom revision type field name throught the properties
Mark Derricutt (JIRA)
noreply at atlassian.com
Tue Jan 6 20:12:38 EST 2009
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32057#action_32057 ]
Mark Derricutt commented on HHH-3671:
-------------------------------------
Hey Adam,
I just spent some time tracing the code and seeing if I could spot it, and I have - or at least I believe so. And I believe its just a foobar on my own part (or more, our schema, and ensuing confusion).
This all relates to our use of subclassed entities, I have two tables: party_versions, and person_versions. party_versions is for the super class and has _revision and _revision_type, person_versions ALSO has _revision -AND- _revision_type.
My guess is this second _revision_type column is actually redundant, which is why I never seeing it being inserted. Looking at my party_versions table I see that _revision_type is populated properly.
So it looks like I my schema file (generated manually) included several redundant columns.
Can you confirm this behaviour/confusion is correct? If so - feel free to close this ticket :)
> The revision type field is not persisted when setting a custom revision type field name throught the properties
> ---------------------------------------------------------------------------------------------------------------
>
> Key: HHH-3671
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3671
> Project: Hibernate Core
> Issue Type: Bug
> Components: envers
> Reporter: Adam Warski
> Assignee: Adam Warski
> Fix For: 3.4
>
>
> http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197239#4197239
--
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