이 블로그 검색

2012년 1월 24일 화요일

defaultFetchGroup = "true"

@Persistent(defaultFetchGroup = "true")

자식값도 기본으로 가져오게 하기 위한 설정

If you want to load the child, you can either "touch" it before closing the PersistenceManager (e.g. by calling getContactInfo() in the above example) or explicitly add the child field to the default fetch group so it's retrieved and loaded with the parent:

댓글 없음:

댓글 쓰기