title: Handling collection updates with JPA
body: <p>I have a collection of custom objects and I'd like to persist it in the easiest way using JPA.</p>
  
  <p>My <code>CustomObject</code> class is mapped to a table. Now I'm wondering if JPA provides some kind of utility to handle object collection.</p>
  
  <p>In particular I'd like to add or remove objects to/from my collection and then pass to a <code>save(Collection&lt;CustomObject&gt; cco)</code> method without checking which objects have changed (which of them I need to add and which to remove...)</p>
  
  <p>Is it possible?</p>