Issue Type: Bug Bug
Affects Versions: 4.1.4
Assignee: Unassigned
Components: envers
Created: 11/Jul/12 3:35 AM
Description:

I have extended DefaultTrackingModifiedEntitiesRevisionEntity class for overrided jpa annotations of modifiedEntityNames members (use @AssociationOverride for changed the table name, then field name and schema into subclass)

@Entity
@RevisionEntity
@Table(name = "revinfo", schema = "revision")
@AssociationOverride(name = "modifiedEntityNames", joinTable = @JoinTable(name = "revision_changes", joinColumns = @JoinColumn(name = "rev_id"), schema = "revision"))
public class SampleRevisionEntity extends DefaultTrackingModifiedEntitiesRevisionEntity {

the hibernate schema update not generate the override specifications, and use @JoinTable attributs value define into DefaultTrackingModifiedEntitiesRevisionEntity (generate revchanges table with rev pk into public schema other generate revision_changes table with rev_id pk into revision schema)

Environment: hibernate 4.1.4
Project: Hibernate ORM
Priority: Minor Minor
Reporter: Cyril MOREAU
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira