mirror of https://github.com/apache/openjpa.git
Always pass non-null fetch conf to StoreManager.
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@427206 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f279a6790b
commit
696cbee04b
|
@ -2718,6 +2718,8 @@ public class StateManagerImpl
|
|||
// if any fields given, load them
|
||||
int len = (fields == null) ? 0 : fields.length();
|
||||
if (len > 0) {
|
||||
if (fetch == null)
|
||||
fetch = _broker.getFetchConfiguration();
|
||||
if (!_broker.getStoreManager().load(this, fields, fetch,
|
||||
lockLevel, sdata)) {
|
||||
throw new ObjectNotFoundException(_loc.get("del-instance",
|
||||
|
|
Loading…
Reference in New Issue