[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5917) Envers doesnt track all columns anymore

Lukasz Antoniak (JIRA) noreply at atlassian.com
Mon Jun 13 14:03:27 EDT 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42576#action_42576 ] 

Lukasz Antoniak commented on HHH-5917:
--------------------------------------

I've added new {{auditParents}} property as Adam suggested few comments before ({{@Audited(auditParents = {ParentA.class, ParentB.class})}}). Just give me few more days to verify it with more than two test cases and create a pull request :).

Regards,
Lukasz Antoniak

> Envers doesnt track all columns anymore
> ---------------------------------------
>
>                 Key: HHH-5917
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5917
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: envers
>    Affects Versions: 3.6.1
>         Environment: WinXP, Oracle
>            Reporter: Slawek Garwol
>            Assignee: Adam Warski
>         Attachments: Missing_fields.patch
>
>
> Envers doesnt track all columns anymore:
> Audited table:
> create table CREW_DAILY_STATISTICS (
>         CREW_DAILY_STATISTICS_ID number(10,0) not null,
>         STAFF_NUM varchar2(12 char) not null,
>         STATISTICS_DATE timestamp not null,
>         CREDIT_TIME number(5,0) not null,
>         DUTY_TIME number(5,0) not null,
>         FLYING_TIME number(5,0) not null,
>         NIGHT_FLYING_TIME number(5,0) not null,
>         NON_STD_FLYING_TIME number(5,0) not null,
>         DAYS_OFF_COUNT number(5,0) not null,
>         LEAVE_COUNT number(5,0) not null,
>         BLANK_DAY_COUNT number(5,0) not null,
>         primary key (CREW_DAILY_STATISTICS_ID),
>         unique (STAFF_NUM, STATISTICS_DATE)
>     );
> AUD table in Hibernate 3.6.0:
> create table CREW_DAILY_STATISTICS_AUD (
>         CREW_DAILY_STATISTICS_ID number(10,0) not null,
>         REV number(19,0) not null,
>         REVTYPE number(3,0),
>         STAFF_NUM varchar2(12 char),
>         STATISTICS_DATE timestamp,
>         CREDIT_TIME number(5,0),
>         DUTY_TIME number(5,0),
>         FLYING_TIME number(5,0),
>         NIGHT_FLYING_TIME number(5,0),
>         NON_STD_FLYING_TIME number(5,0),
>         DAYS_OFF_COUNT number(5,0),
>         LEAVE_COUNT number(5,0),
>         BLANK_DAY_COUNT number(5,0),
>         primary key (CREW_DAILY_STATISTICS_ID, REV)
>     );
> AUD table in Hibernate 3.6.1:
> create table CREW_DAILY_STATISTICS_AUD (
>         CREW_DAILY_STATISTICS_ID number(10,0) not null,
>         REV number(19,0) not null,
>         REVTYPE number(3,0),
>         primary key (CREW_DAILY_STATISTICS_ID, REV)
>     );

-- 
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