mirror of https://github.com/apache/openjpa.git
OPENJPA-1334: Assign default named cache to PCData
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889449 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2baa87b040
commit
77c3242465
|
@ -44,6 +44,10 @@ public class DataCachePCDataImpl
|
|||
|
||||
private final long _exp;
|
||||
|
||||
public DataCachePCDataImpl(Object oid, ClassMetaData meta) {
|
||||
this(oid, meta, DataCache.NAME_DEFAULT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*/
|
||||
|
|
|
@ -20,6 +20,7 @@ package org.apache.openjpa.kernel;
|
|||
|
||||
import java.util.BitSet;
|
||||
|
||||
import org.apache.openjpa.datacache.DataCache;
|
||||
import org.apache.openjpa.meta.ClassMetaData;
|
||||
import org.apache.openjpa.meta.FieldMetaData;
|
||||
|
||||
|
@ -42,6 +43,10 @@ public class PCDataImpl
|
|||
private Object _impl = null;
|
||||
private Object[] _fieldImpl = null;
|
||||
|
||||
public PCDataImpl(Object oid, ClassMetaData meta) {
|
||||
this(oid, meta, DataCache.NAME_DEFAULT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue