// New EntityState
EntityState entityState = store.newEntityState( identity, this );
// Set identity property
PropertyDescriptor persistentPropertyDescriptor = state().propertyModelFor( IDENTITY_METHOD );
entityState.setPropertyValue( persistentPropertyDescriptor.qualifiedName(), identity.identity() );
return entityState;
}
catch( EntityAlreadyExistsException e )
{