Working with Neo4j I created a TSUser object that has a state showing if the user is active or not. When i create the user in the Neo4j DB, the state is not shown, as if it was transient. However, when i load the user in the code (while debugging), the enum-attribute is set. I would like to see it in the Neo4j client.
The TSUser
looks like this:
@NodeEntity
public class TSUser{
private Long id;
private State state;
private String username;
private String email;
//Getter/Setter
}
with State
being
public enum State{
ACTIVE, INACTIVE
}
After persisting an TSUser, i fetch him in the client with "MATCH n RETURN n" and get the result as shown on the picture.