[hibernate-commits] [hibernate/hibernate-ogm] db1021: OGM-1069 Pass the OperationsQueue as parameter to ...

GitHub noreply at github.com
Thu Jun 2 07:28:49 EDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-ogm
  Commit: db10212faa782c0b69a93cec6e4cceae1afd998d
      https://github.com/hibernate/hibernate-ogm/commit/db10212faa782c0b69a93cec6e4cceae1afd998d
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2016-06-01 (Wed, 01 Jun 2016)

  Changed paths:
    M core/src/main/java/org/hibernate/ogm/dialect/eventstate/impl/EventStateLifecycles.java
    M core/src/main/java/org/hibernate/ogm/dialect/impl/BatchOperationsDelegator.java

  Log Message:
  -----------
  OGM-1069 Pass the OperationsQueue as parameter to executeBatch


  Commit: 7f6d024b82064b900712c1035f56c43a7475b6e8
      https://github.com/hibernate/hibernate-ogm/commit/7f6d024b82064b900712c1035f56c43a7475b6e8
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2016-06-01 (Wed, 01 Jun 2016)

  Changed paths:
    M core/src/main/java/org/hibernate/ogm/dialect/batch/spi/OperationsQueue.java
    M core/src/main/java/org/hibernate/ogm/dialect/eventstate/impl/EventStateLifecycles.java
    M mongodb/src/main/java/org/hibernate/ogm/datastore/mongodb/MongoDBDialect.java
    M mongodb/src/test/java/org/hibernate/ogm/datastore/mongodb/test/dialectinvocations/GridDialectOperationInvocationsTest.java

  Log Message:
  -----------
  OGM-1068 Only clear the OperationsQueue in executeBatch and effectively
close it when the event is finished


  Commit: 22998b65ef3a0860f4b8fe9aadd61ee6bcf40721
      https://github.com/hibernate/hibernate-ogm/commit/22998b65ef3a0860f4b8fe9aadd61ee6bcf40721
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2016-06-01 (Wed, 01 Jun 2016)

  Changed paths:
    M core/src/main/java/org/hibernate/ogm/dialect/batch/spi/OperationsQueue.java

  Log Message:
  -----------
  OGM-1070 Remove a statement which didn't work and shouldn't

We tried to remove an entry from entityKeys but as we remove directly
the operation, it does not work. That being said, we should effectively
keep track of all the entityKeys in the insertion queue so we simply
remove this statement.


Compare: https://github.com/hibernate/hibernate-ogm/compare/4743c68ca674...22998b65ef3a


More information about the hibernate-commits mailing list