public static <T extends Bean>T load(Bson query,T t){
  String collection=getCollection(t.getClass());
  if (collection != null) {
    try {
      return load(query,null,t);
    }
 catch (    Exception e) {
      if (log.isErrorEnabled())       log.error(e.getMessage(),e);
    }
  }
  return null;
}

public static < T extends Bean > T load ( Bson query , T t ) { String collection = getCollection ( t . getClass ( ) ) ; if ( collection != null ) { try { return load ( query , null , t ) ; } catch ( Exception e ) { if ( log . isErrorEnabled ( ) ) log . error ( e . getMessage ( ) , e ) ; } } return null ; }
load the data full into the t .
