mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1227 - NPE when using L2 Query cache with findOne() or findOneOrEmpty()
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user