title: Spring Java Conversion exception
body: <p>I am trying to store an <code>EnumSet</code> object into my neo4j db.  However, I get this exception:</p>
  
  <p><code>org.springframework.core.convert.ConversionFailedException: Failed to convert from type java.util.LinkedHashSet&lt;?&gt; to type java.util.EnumSet&lt;?&gt; for value '[READ, WRITE, OPTIONAL]'; nested exception is java.lang.IllegalArgumentException: Could not instantiate Collection type: java.util.EnumSet</code></p>
  
  <p>Is there some way to substitute the the <code>EnumSet</code> with something else?  Or, does anyone know a work around?</p>
  
  <p>I've tried making the set as a <code>HashSet</code>, but I lose the methods that <code>EnumSet</code> gives me, such as <code>noneOf()</code>.</p>