This content has been marked as final.
Show 4 replies
-
1. Re: @ManyToMany: REVTYPE
adamw Jul 23, 2010 2:21 AM (in response to levis1984)Shouldn't one mapping be inverse? That is, @ManyToMany(mappedBy = "").
Adam
-
2. Re: @ManyToMany: REVTYPE
levis1984 Jul 23, 2010 3:24 PM (in response to adamw)Hi Adam,
thanks for your reply!
I edited the annotation in the class Attribute:
@ManyToMany(mappedBy="attributes")
public List<Attribute> getPersons() {
return persons;
}But unfortunately it results in the same effect. REVTYPE is always ADD and consequently the audit entries are accumulated...
Any other idea?
Thanks so much!
Levi
-
3. Re: @ManyToMany: REVTYPE
adamw Jul 26, 2010 2:35 AM (in response to levis1984)1 of 1 people found this helpfulDid you try with Hibernate 3.6 beta1 or with trunk?
If so, could you maybe create a simple test case (there's quite a lot of test cases in Envers) and attach it to a JIRA bug? Then I could look at it
Adam
-
4. Re: @ManyToMany: REVTYPE
levis1984 Jul 26, 2010 5:18 AM (in response to adamw)Oh, I still used 3.5.0. I will try it with the new Version as soon as possible.
I will report ;-)