Detached entity with TopLink essentials | Oracle Community
確かにTopLink EssantialsだとDetached EntityでもLazy Loadingできたよって書いてあるなぁ。
これが,その理由か?
This is a special feature of TopLink's implementation where the detached instances created from non-tx reads still have access in their proxies to retrieve additional dettached instances. If the object was detached through serialization this would not be possible.
武田ソフトさんとこでも「TopLinkだと平気だった」ってあるし,あとは実際に試して見りゃいいか(アイソレーションレベルとか気になるし)。
...でも,ちょっと腰が重い。:-)
それと,JPAの仕様書にも目を通す努力をしようっと。
#"Detached Entities"については,JPA(persistence)のSection 3.2.4に書いてある。
→The Java Community Process(SM) Program - communityprocess - final