Ops, i'm using an unidirectional OneToMany relation with List and ArrayList (and i cannot change this).
could you post the code snippets of the relationship?
Why can't you change to Sets? Do you need the order of items?
Maybe it would help to convert the relationship to sets and add some "converter" methods to your entities, which convert the set to a list and vice versa?
I solved this problem today, right now.
Just adding @IndexColumn in all Entitys i could find (including by editing another developers entitys).
But now i'm getting another problem when i added a new WebService:
Error creating callback handler for bean erpagronegociows.ws.VendaWS
Well, it was working before i add a webservice but now even if i remove it, it is not working anymore =/
Do you have any ideia what could it be?
I cleaned all tmp files from jboss (4.2.2 and i cant change, unfortunaly) and restart it.
Thank you for your good kindness.