http://docs.spring.io/autorepo/docs/spring-data-neo4j/4.0.x-SNAPSHOT/reference/html/#reference_programming-model_conversion

> Built-In Type Conversions
> By default, Spring Data Neo4j will automatically perform the following 
> type conversions:
> java.util.Date to a String in the ISO 8601 format: 
> "yyyy-MM-dd’T’HH:mm:ss.SSSXXX"
> java.math.BigInteger to a String property
> java.math.BigDecimal to a String property
> binary data (as byte[] or Byte[]) to base-64 String as Cypher does not 
> support byte arrays
> java.lang.Enum types using the enum’s name() method and Enum.valueOf()



Hi there, I'm trying to get OGM to deserialize my enums, but they always 
come back null. I checked the data being returned over the wire and the 
data is there. ClassInfo.propertySetters() will never add the setter 
properly since it's not a primitive, java object or annotated in any way.

Does anyone know how enums are supposed to be handled?

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to