ITeye博客

getReference

keating · 2011-08-16 10:55 · Java · 编程语言 · Markdown

Get an instance, whose state may be lazily fetched. If the requested instance does not exist in the database, throws EntityNotFoundException when the instance state is first accessed. (The persistence provider runtime is permitted to throw EntityNotFoundException when getReference(java.lang.Class, java.lang.Object) is called.) The application should not expect that the instance state will be available upon detachment, unless it was accessed by the application while the entity manager was open.

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。