[JPAContainer] Remove duplicate rows

Hi everyone,

I’m struggling to find a way in order to remove all duplicate rows from my JPAContainer…
Any ideas ?

I tried iterating over the itemIds from my table then I sorted the list to remove the duplicate rows but when I call the method removeItem() of Table.class it removes rows from my database ! I’m using a JPAContainer built with this call : container = JPAContainerFactory.makeJndi(MyClass.class);

I just want to delete the rows
from the table only,
not from the database !

?