Add an additional column to the audit table using sleep mode

Can I add an additional column to the audit table? For example, I have a table like this

@Entity
@Table(name="EmpEnverPrac")
@Audited
public class EmpEnverPractice {


        @Id
        @Column(name="ID") 
        @GeneratedValue(strategy  = GenerationType.AUTO)
        private Integer id; 

        @Column(name="NAME") 
        private String name; 

        @Column(name="password")
        @NotAudited
        private String password; 

     // getter and setters

}

now I want to add another column to my created audit table, but I do not want to include them in my entity. I can not find a solution for this requirement. kindly tell me the required configuration. thanks in advance

+4
source share
2 answers
+2

, , : EmpEnverPractice, , , .

+1

All Articles