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, let me know how it goes. This also should help with the implementation
in the Neo4j dialect where it would render targetKey() obsolete.


2014-08-05 17:44 GMT+02:00 DavideD <notifications@github.com>:

> In
> core/src/main/java/org/hibernate/ogm/util/impl/AssociationPersister.java:
>
> >  		return associationContext;
> >  	}
> > +
> > +	private AssociationKeyMetadata associationKeyMetadataFromElement(EntityKeyMetadata targetEntityKeyMetadata) {
>
> I
>
> But I feel in RowKey it may fly?
>
> I will try it, it should work
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/hibernate/hibernate-ogm/pull/347/files#r15821083>.
>