anchor.diff:        _entityManager.
           createNativeQuery( "<%= j_escape_string("UPDATE #{ entity.sync.master_entity.sql.qualified_table_name } SET #{ entity.sync.master_entity.attribute_by_name( entity.root_entity.name ).sql.quoted_column_name } = ?, #{ data_module.sql.dialect.quote('MasterSynchronized') } = ? WHERE #{ data_module.sql.dialect.quote('MappingId') } = ? AND #{ data_module.sql.dialect.quote('MappingSource') } = ? AND #{ data_module.sql.dialect.quote('MasterSynchronized') } = #{entity.sql.dialect.false_sql}") %>" ).
           setParameter( 1, entity.<%= getter_for(entity.primary_key) %> ).
  -        setParameter( 2, true ).
  +        setParameter( 2, Boolean.TRUE ).
           setParameter( 3, v_MappingId ).
           setParameter( 4, mappingSourceCode ).
           executeUpdate();
  
positive.code:       _entityManager.flush();
        _entityManager.
          createNativeQuery( "<%= j_escape_string("UPDATE #{ entity.sync.master_entity.sql.qualified_table_name } SET #{ data_module.sql.dialect.quote('MasterSynchronized') } = ? WHERE #{ data_module.sql.dialect.quote('MappingId') } = ? AND #{ data_module.sql.dialect.quote('MappingSource') } = ?") %>" ).
          setParameter( 1, true ).
          setParameter( 2, v_MappingId ).
          setParameter( 3, mappingSourceCode ).
          executeUpdate();
  
negative.code:     }
      _entityManager.
        createNativeQuery( "<%= j_escape_string("UPDATE #{ entity.sync.master_entity.sql.qualified_table_name } SET #{ data_module.sql.dialect.quote('MasterSynchronized') } = ? WHERE #{ data_module.sql.dialect.quote('Id') } = ?") %>" ).
        setParameter( 1, Boolean.TRUE ).
        setParameter( 2, mappingId ).
        executeUpdate();
      return deleted;
  