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?