(maybe this was discussed before, or I'm completely wrong, couldn't find anything about it)
The __type__ string currently stores the fully qualified class name. This has 2 drawbacks for me: 1) it's looooooong. In my case, having millions of small objects, the __type__ attribute blows up the disk storage size (gigabytes). (maybe i should not be using sdg for this use case at all?) 2) refactoring. moving the class breaks lookup, renaming the class breaks lookup. As I remember it is problematic or impossible to use two different @NodeEntity classes with the same class name (eg "Employee") in another package. I don't remember where I saw that, maybe I'm wrong. If that is the case then the __type__ could just store the simple class name (and have a map somewhere to find the original class again). Suggestion: An attribute on @NodeEntity and @RelationshipEntity to use just the simple class name "useShortClassName=true", or an attribute to specify the value for the __type__field explicitly like typename="foo". _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

