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:
Pinaki Poddar 2009-12-10 22:43:45 +00:00
parent 2baa87b040
commit 77c3242465
2 changed files with 9 additions and 0 deletions

View File

@ -44,6 +44,10 @@ public class DataCachePCDataImpl
private final long _exp;
public DataCachePCDataImpl(Object oid, ClassMetaData meta) {
this(oid, meta, DataCache.NAME_DEFAULT);
}
/**
* Constructor.
*/

View File

@ -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.
*/