" = :id")
.setParameter("id", id)
.getSingleResult();
IdentityObjectType type = modelProperties.containsKey(PROPERTY_IDENTITY_TYPE_NAME) ?
new IdentityObjectTypeImpl(
modelProperties.get(PROPERTY_IDENTITY_TYPE_NAME).getValue(
modelProperties.get(PROPERTY_IDENTITY_TYPE).getValue(identity)).toString()) :
new IdentityObjectTypeImpl(modelProperties.get(PROPERTY_IDENTITY_TYPE).getValue(identity).toString());
return new SimpleIdentityObject(
modelProperties.get(PROPERTY_IDENTITY_NAME).getValue(identity).toString(),
modelProperties.get(PROPERTY_IDENTITY_ID).getValue(identity).toString(),