[hibernate-commits] [hibernate/hibernate-ogm] 2121b3: OGM-678 Remove AssociationOperationType.PUT_NULL o...

GitHub noreply at github.com
Wed Dec 10 08:14:00 EST 2014


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-ogm
  Commit: 2121b331c71f884ed667aa66e4c1cfbdf05019f6
      https://github.com/hibernate/hibernate-ogm/commit/2121b331c71f884ed667aa66e4c1cfbdf05019f6
  Author: Emmanuel Bernard <emmanuel at hibernate.org>
  Date:   2014-12-10 (Wed, 10 Dec 2014)

  Changed paths:
    M core/src/main/java/org/hibernate/ogm/datastore/map/impl/MapHelpers.java
    M core/src/main/java/org/hibernate/ogm/model/spi/Association.java
    M core/src/main/java/org/hibernate/ogm/model/spi/AssociationOperationType.java
    M ehcache/src/main/java/org/hibernate/ogm/datastore/ehcache/EhcacheDialect.java
    M neo4j/src/main/java/org/hibernate/ogm/datastore/neo4j/Neo4jDialect.java

  Log Message:
  -----------
  OGM-678 Remove AssociationOperationType.PUT_NULL operation

It was never used and is quite doubtful it would be necessary.
I added a Contracts.assertNotNull on association.put to prevent setting
the value to null.




More information about the hibernate-commits mailing list