[hibernate-commits] [hibernate/hibernate-ogm] f10861: OGM-1198 Make sure to return the right Association...

GitHub noreply at github.com
Wed Nov 2 05:19:20 EDT 2016


  Branch: refs/heads/5.0
  Home:   https://github.com/hibernate/hibernate-ogm
  Commit: f10861d06d424c107ee4cc8c6814717fbb10573a
      https://github.com/hibernate/hibernate-ogm/commit/f10861d06d424c107ee4cc8c6814717fbb10573a
  Author: Davide D'Alto <davide at hibernate.org>
  Date:   2016-11-01 (Tue, 01 Nov 2016)

  Changed paths:
    M core/src/main/java/org/hibernate/ogm/persister/impl/BiDirectionalAssociationHelper.java

  Log Message:
  -----------
  OGM-1198 Make sure to return the right AssociationKeyMetadata

  This fix make sure that when looking for the AssociationKeyMetadata, we consider
  the mappedBy value on the non-owning side of the association.

  Failing to do that causes some errors when there are multiple associations to the same entity


  Commit: be7cdf1def5d526f927c2c33a873be3d4854f762
      https://github.com/hibernate/hibernate-ogm/commit/be7cdf1def5d526f927c2c33a873be3d4854f762
  Author: Davide D'Alto <davide at hibernate.org>
  Date:   2016-11-01 (Tue, 01 Nov 2016)

  Changed paths:
    M core/src/test/java/org/hibernate/ogm/test/persister/BiDirectionalAssociationHelperTest.java

  Log Message:
  -----------
  OGM-1198 Add testcase to BiDirectionalAssociationHelperTest


  Commit: 518fe8e5e83f55d36f43a7bf28ca34ed981f7e3f
      https://github.com/hibernate/hibernate-ogm/commit/518fe8e5e83f55d36f43a7bf28ca34ed981f7e3f
  Author: Davide D'Alto <davide at hibernate.org>
  Date:   2016-11-01 (Tue, 01 Nov 2016)

  Changed paths:
    A mongodb/src/test/java/org/hibernate/ogm/datastore/mongodb/test/mapping/associations/MultipleInverseAssociationOnTheSameEntityTest.java
    A mongodb/src/test/java/org/hibernate/ogm/datastore/mongodb/test/mapping/associations/Node.java
    A mongodb/src/test/java/org/hibernate/ogm/datastore/mongodb/test/mapping/associations/NodeLink.java

  Log Message:
  -----------
  OGM-1198 Test for MongoDB


  Commit: 9e7d3342b6376691ddeff5275f95fd8264aa24a0
      https://github.com/hibernate/hibernate-ogm/commit/9e7d3342b6376691ddeff5275f95fd8264aa24a0
  Author: Davide D'Alto <davide at hibernate.org>
  Date:   2016-11-01 (Tue, 01 Nov 2016)

  Changed paths:
    A neo4j/src/test/java/org/hibernate/ogm/datastore/neo4j/test/mapping/MappedLink.java
    A neo4j/src/test/java/org/hibernate/ogm/datastore/neo4j/test/mapping/MappedNode.java
    A neo4j/src/test/java/org/hibernate/ogm/datastore/neo4j/test/mapping/MultipleInverseAssociationOnTheSameEntityTest.java

  Log Message:
  -----------
  OGM-1198 Test for Neo4j


  Commit: 06b6ec718f17cf6cf05f8c6b32fa2f84885f26f6
      https://github.com/hibernate/hibernate-ogm/commit/06b6ec718f17cf6cf05f8c6b32fa2f84885f26f6
  Author: Davide D'Alto <davide at hibernate.org>
  Date:   2016-11-01 (Tue, 01 Nov 2016)

  Changed paths:
    M core/src/main/java/org/hibernate/ogm/persister/impl/BiDirectionalAssociationHelper.java
    M core/src/test/java/org/hibernate/ogm/test/persister/BiDirectionalAssociationHelperTest.java

  Log Message:
  -----------
  OGM-1198 Returns null when asking for metadata from the inverse side


Compare: https://github.com/hibernate/hibernate-ogm/compare/84d26026f07b...06b6ec718f17


More information about the hibernate-commits mailing list