#1227 - NPE when using L2 Query cache with findOne() or findOneOrEmpty()

This commit is contained in:
Rob Bygrave
2017-12-13 22:19:25 +13:00
parent e07bd8f736
commit 4a4134ee93
6 changed files with 56 additions and 18 deletions
@@ -369,7 +369,7 @@ public interface SpiQuery<T> extends Query<T>, TxnProfileEventCodes {
/**
* Reset AUTO mode to OFF for findList(). Expect explicit cache use with findList().
*/
void resetBeanCacheAutoMode();
void resetBeanCacheAutoMode(boolean findOne);
/**
* Collect natural key data for this query or null if the query does not match