Guice + MyBatis:如何使用MyBatis注释在DAO对象中填充集合?

时间:2015-10-21 09:50:28

标签: guice

DAO

public class RequestDAO {

    private Long requestId;
    private Long ownerId;
    private Timestamp whenCreated;
    private List<RequestAttributesDAO> requestAttributes;

}

RequestMapper

@Select("==Select query with multiple joins==") 
List<RequestDAO> getRequestss(int limit);

如何在RequestDAO中设置List?

0 个答案:

没有答案