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

GitHub noreply at github.com
Wed Nov 2 05:18:01 EDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-ogm
  Commit: dcee58a6e6da1f8b3b66264ce1340cb72068009d
      https://github.com/hibernate/hibernate-ogm/commit/dcee58a6e6da1f8b3b66264ce1340cb72068009d
  Author: Davide D'Alto <davide at hibernate.org>
  Date:   2016-11-02 (Wed, 02 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: 9682fb2834a14c645942212cc1c09250e8084657
      https://github.com/hibernate/hibernate-ogm/commit/9682fb2834a14c645942212cc1c09250e8084657
  Author: Davide D'Alto <davide at hibernate.org>
  Date:   2016-11-02 (Wed, 02 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: 42acd107b2b7458fb9ece69962d51df2c7168dd1
      https://github.com/hibernate/hibernate-ogm/commit/42acd107b2b7458fb9ece69962d51df2c7168dd1
  Author: Davide D'Alto <davide at hibernate.org>
  Date:   2016-11-02 (Wed, 02 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: 0072fa23f940c314ba429415ecfec5e5eabe35cc
      https://github.com/hibernate/hibernate-ogm/commit/0072fa23f940c314ba429415ecfec5e5eabe35cc
  Author: Davide D'Alto <davide at hibernate.org>
  Date:   2016-11-02 (Wed, 02 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: 79c7934a7721d341a9219e42ee7f10b318368aca
      https://github.com/hibernate/hibernate-ogm/commit/79c7934a7721d341a9219e42ee7f10b318368aca
  Author: Davide D'Alto <davide at hibernate.org>
  Date:   2016-11-02 (Wed, 02 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/26824121abd9...79c7934a7721


More information about the hibernate-commits mailing list