首页 新闻 会员 周边

Hibernate中Session的load(Class theClass, Serializable id)方法

0
悬赏园豆:15 [已关闭问题] 关闭于 2017-10-17 12:53

Hibernate中Session的load(Class theClass, Serializable id)方法在什么情况下返回对象,什么情况下返回代理对象???

看的源码中的注释This method might return a proxied instance that is initialized on-demand, when a non-identifier method is accessed.

这个没看懂???

@return the persistent instance or proxy

有哪位大神会的???求解惑

钓鱼翁的主页 钓鱼翁 | 初学一级 | 园豆:81
提问于:2017-09-26 22:02
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册