이 블로그 검색

2012년 1월 24일 화요일

requestFactory에서 relation으로 연결된 bean도 함께 가져오기

When querying the server, RequestFactory does not automatically populate relations in the object graph. To do this, use the with() method on a request and specify the related property name as a String:
Request findReq = requestFactory.personRequest().find(personId).with("address");

댓글 없음:

댓글 쓰기