public static <T extends Bean>T load(String table,String where,Object[] args,String orderby,Class<T> clazz){
  try {
    T b=(T)clazz.newInstance();
    if (load(table,where,args,orderby,b)) {
      return b;
    }
  }
 catch (  Exception e) {
    if (log.isErrorEnabled())     log.error(e.getMessage(),e);
  }
  return null;
}

public static < T extends Bean > T load ( String table , String where , Object [ ] args , String orderby , Class < T > clazz ) { try { T b = ( T ) clazz . newInstance ( ) ; if ( load ( table , where , args , orderby , b ) ) { return b ; } } catch ( Exception e ) { if ( log . isErrorEnabled ( ) ) log . error ( e . getMessage ( ) , e ) ; } return null ; }
load record in database .
