em.close();
}
public void testArrayOfStrings() {
// check that the data cache contains an efficient representation
StoreCacheImpl storeCache = (StoreCacheImpl)
OpenJPAPersistence.cast(emf).getStoreCache();
DataCache cache = storeCache.getDelegate();
PCData data = cache.get(internalOid);
ClassMetaData meta = JPAFacadeHelper.getMetaData(emf,
AllFieldTypes.class);
Object cachedFieldData =
data.getData(meta.getField("arrayOfStrings").getIndex());