2 Replies Latest reply on May 23, 2012 10:25 AM by Zakary Melvin

    Can column names be specified for auto-generated audit tables?

    Zakary Melvin Newbie

      It looks like the column names used in the generated audit tables (_aud) match the column names used in the audited entity.  Just wondering if there is a way to change this?


      For example:




      String userName;


      will create a table classname_aud with the column USER_NAME.  Is there a way to specify that I would like this column to be userName?


      I know I can just go in and update tables in the database to use column names I prefer, but it would be nice if there was something already availabe like @Audited(name="userName") that I could use.