select name,sex from db, for example:
public T findByID (ID id, I dbName) throws Exception;
public List<T> findAll(I dbName) throws Exception;
public List<T> findByExample(T exampleInstance, I dbName,
String... excludeProperties) throws Exception;
public List<T> findByExample(T exampleInstance, I dbName) throws Exception;
public List<T> findByCriteria(I dbName, Criterion... criterions) throws Exception;
public List<T> findByCriteria(I dbName, List<Criterion> criterions) throws Exception;
public List<T> findByCriteria(I dbName, List<Criterion> criterions,
List<Order> orders) throws Exception;
public List<T> findByCriteriaAndLimtSize(I dbName, int size,
Criterion... criterions) throws Exception;
public List<T> findByCriteriaByPage(I dbName, int offsetFrom, int size,
List<Criterion> criterions, List<Order> orders) throws Exception;