anchor.diff:  *  The ODM (Object-Directory Mapping) functionality has been moved to core and there are new methods in `LdapOperations`/`LdapTemplate` that uses this automatic translation to/from ODM-annotated classes. See <<odm>> for more information.
   *  A custom XML namespace is now provided to simplify configuration of Spring LDAP. See <<configuration>> for more information.
   *  Spring Data Repository and QueryDSL support is now included in Spring LDAP. See <<repositories>> for more information.
  +*  `Name` instances as attribute values are now handled properly with regards to Distinguished Name equality in `DirContextAdapter` and ODM. See <<dns-as-attribute-values>> and <<odm-dn-attributes>> for more information.
   * `DistinguishedName` and associated classes have been deprecated in favor of standard Java `LdapName`. See <<ldap-names>> for information on how the library helps working with `LdapNames`.
   *  Fluent LDAP query support has been added. This makes for a more pleasant programming experience when working with LDAP searches in Spring LDAP. See <<basic-queries>> and <<query-builder-advanced>> for more information about the LDAP query builder support.
   *  The old `authenticate` methods in `LdapTemplate` have been deprecated in favor of a couple of new `authenticate` methods that work with `LdapQuery` objects and __throw exceptions__ on authentication failure, making it easier for the user to find out what caused an authentication attempt to fail.
  
positive.code:       return ldapTemplate.findAll(Person.class);
     }
  
     public List>Person< findByLastName(String lastName) {
        return ldapTemplate.find(query().where("sn").is(lastName), Person.class);
     }
  }
  ----
  
  
  [[query-builder-advanced]]
  == Advanced LDAP Queries
  
negative.code: 
  The `@Transient` annotation is used to indicate the field should be ignored by the object directory mapping and not mapped to an underlying LDAP property. Note that if a `@DnAttribute` is not to be bound to an Attribute, i.e. it is only part of the Distinguished Name and not represented by an object attibute, it must also be annotated with `@Transient`.
  
  
  === Execution
  When all components have been properly configured and annotated, the object mapping methods of `LdapTemplate` can be used as follows:
  