public static void deleteProperties(BeanId id) {
        Query query = getEmOrFail().createNamedQuery(DELETE_ALL_PROPERTIES_FOR_BEANID_NAME);
        query.setParameter(1, id.getInstanceId());
        query.setParameter(2, id.getSchemaName());

        query.setParameter(3, BEAN_MARKER_PROPERTY_NAME);
        query.executeUpdate();

    }
public static void deleteProperties ( BeanId id ) { Query query = getEmOrFail ( ) . createNamedQuery ( DELETE_ALL_PROPERTIES_FOR_BEANID_NAME ) ; query . setParameter ( 1 , id . getInstanceId ( ) ) ; query . setParameter ( 2 , id . getSchemaName ( ) ) ; query . setParameter ( 3 , BEAN_MARKER_PROPERTY_NAME ) ; query . executeUpdate ( ) ; }
Delete list properties EXCEPT the marker. This is useful for 'set' operations
that need to clear existing properties.