/**
* This testcase was added for OPENJPA-1400.
*/
public void testIsDetchedNoStateManagerZeroVersionField() {
OpenJPAEntityManagerSPI em = emf.createEntityManager();
NoDetachedStateEntityPropertyAccess property = em.find(NoDetachedStateEntityPropertyAccess.class, 1);
NoDetachedStateEntityFieldAccess field = em.find(NoDetachedStateEntityFieldAccess.class, 1);
em.close();
PersistenceCapable pcProperty = (PersistenceCapable) property;
PersistenceCapable pcField = (PersistenceCapable) field;