[hibernate-commits] [hibernate/hibernate-orm] 2040e4: HHH-7821 - Clears the batch collection fetching qu...

GitHub noreply at github.com
Wed Feb 13 16:35:49 EST 2013


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-orm
  Commit: 2040e44c03455d5f39b90e3548cf7da421e34aaf
      https://github.com/hibernate/hibernate-orm/commit/2040e44c03455d5f39b90e3548cf7da421e34aaf
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2013-02-13 (Wed, 13 Feb 2013)

  Changed paths:
    M hibernate-core/src/main/java/org/hibernate/engine/spi/BatchFetchQueue.java
    M hibernate-core/src/main/java/org/hibernate/event/internal/AbstractFlushingEventListener.java

  Log Message:
  -----------
  HHH-7821 - Clears the batch collection fetching queue on flush.
Provides a safe guard against NPE in BatchFetchQueue.getCollectionBatch() by checking that CollectionEntry.getLoadedKey() is not null before adding it to the batch.


  Commit: d6b3f373eae5b9ae847482d16c63ef6f8751dc5d
      https://github.com/hibernate/hibernate-orm/commit/d6b3f373eae5b9ae847482d16c63ef6f8751dc5d
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2013-02-13 (Wed, 13 Feb 2013)

  Changed paths:
    A hibernate-core/src/test/java/org/hibernate/test/flush/BookStore.java
    A hibernate-core/src/test/java/org/hibernate/test/flush/TestClearBatchFetchQueueAfterFlush.java

  Log Message:
  -----------
  HHH-7821 - Clear the entire BatchFetchQueue on flush.
Provide a safe guard against NPE in BatchFetchQueue.getCollectionBatch() by checking that CollectionEntry.getLoadedKey() is not null before adding it to the batch.


Compare: https://github.com/hibernate/hibernate-orm/compare/e722f6391f9d...d6b3f373eae5


More information about the hibernate-commits mailing list