Search in sources :

Example 1 with FullIdentityMap

use of org.eclipse.persistence.internal.identitymaps.FullIdentityMap in project eclipselink by eclipse-ee4j.

the class GetSizeRecurseOptionTest method test.

@Override
public void test() {
    FullIdentityMap identityMap = (FullIdentityMap) ((AbstractSession) m_session).getIdentityMapAccessorInstance().getIdentityMap(Project.class);
    m_fullSize = identityMap.getSize();
    m_smallSize = identityMap.getSize(SmallProject.class, false);
}
Also used : FullIdentityMap(org.eclipse.persistence.internal.identitymaps.FullIdentityMap) AbstractSession(org.eclipse.persistence.internal.sessions.AbstractSession)

Aggregations

FullIdentityMap (org.eclipse.persistence.internal.identitymaps.FullIdentityMap)1 AbstractSession (org.eclipse.persistence.internal.sessions.AbstractSession)1