OGM-548 Remove redundant properties from relationships in Neo4j

https://hibernate.atlassian.net/browse/OGM-548

This pull requests will remove the TEMP nodes, the redundant properties on the relationship for associations and collection of embedded.

I had to add some values on the AssociationKey and the AssociationContext to achieve this.

Note that it won't affect the additional properties on OneToOne and it won't create a separtate node for an embedded attribute (There are separate issuesfor this).
Ok, cool. Please don't force-push though (at least for the time being) so
we do not loose all the comments/discussions.


2014-08-05 12:01 GMT+02:00 DavideD <notifications@github.com>:

> In core/src/main/java/org/hibernate/ogm/grid/AssociationKey.java:
>
> > @@ -28,10 +28,16 @@
> >  	//role and entity key are not part of the object identity
> >  	private final String collectionRole;
> >  	private final EntityKey entityKey;
> > +	private final Key targetKey;
>
> While trying to reply to your comments I've noticed that I can remove it.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/hibernate/hibernate-ogm/pull/347/files#r15803652>.
>