title: @DBRef Lazy loading is not working
body: <p>I am using spring data mongodb, i trying to load entities lazy using db reference annotation of spring data mongodb,but it is not working.
  still entity is loaded eagerly,what am i doing wrong here?</p>
  
  <p>My preference domain </p>
  
  <pre><code>public class Preference extends BaseEntity {
  
      /**
       * 
       */
      private static final long serialVersionUID = 1L;
  
      @DBRef(lazy = true)
      User user;
  
      MetadataEnum preferenceType;
  
  
      public User getUser() {
          return user;
      }
  
      public void setUser(User user) {
          this.user = user;
      }
  
  
      public MetadataEnum getPreferenceType() {
          return preferenceType;
      }
  
  
      public void setPreferenceType(MetadataEnum preferenceType) {
          this.preferenceType = preferenceType;
      }
  
  
      public List&lt;Subtype&gt; getSubtypes() {
          return subtypes;
      }
  
  
      public void setSubtypes(List&lt;Subtype&gt; subtypes) {
          this.subtypes = subtypes;
      }
  
      List&lt;Subtype&gt; subtypes = new ArrayList&lt;Subtype&gt;();
  
  
      boolean enableSearch;
  
  }
  </code></pre>
  
  <p>When i load preference domain,user entity loaded also.</p>