<BUG>private static final Set EXCLUDED_PROPERTIES = new HashSet(Arrays.asList("class", "metaClass", "properties"));protected Object entity;</BUG><CONTEXT>import org.grails.datastore.mapping.model.IdentityMapping;import org.grails.datastore.mapping.model.PersistentEntity;import org.springframework.util.ReflectionUtils;@SuppressWarnings({"rawtypes", "unchecked"})public class BeanEntityAccess implements EntityAccess {<extra_id_0>protected BeanWrapper beanWrapper;protected PersistentEntity persistentEntity;public BeanEntityAccess(PersistentEntity persistentEntity, Object entity) {</CONTEXT>
private static final Set EXCLUDED_PROPERTIES = ClassPropertyFetcher.EXCLUDED_PROPERTIES;protected Object entity;