由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - hibernate lazy-loading/ compile time instrumentation?
相关主题
[合集] 这个annotation,...新手问题。
在线等,java compilation question
Java练习题 2help on this scope question
Java练习题 6Help with Tomcat for Eclipse v1.03
Java练习题 12ant javac error in eclipse 3.0?
anyone familiar with JNA?Problem on ANT,JAVA,JSP,JSPPrecompiler
How to disable hibernate second-level cache for an entityHow big is the penalty for compile with debugging mode on?
问一个关于access object instance的问题也问一个Eclipse的问题
相关话题的讨论汇总
话题: lazy话题: hibernate话题: loading话题: compile
进入Java版参与讨论
1 (共1页)
c******n
发帖数: 4965
r*****s
发帖数: 985
2
我也看不懂您要做什么
您是要自己manually instrument lazy init code?
hibernate本来不就是runtime instrumentation
thru CGLIB/Dynamic proxies吗?

【在 c******n 的大作中提到】
: http://stackoverflow.com/questions/8470156/really-how-to-achiev
c******n
发帖数: 4965
3
certain cases need build time instrumentation, please check out this one
http://docs.jboss.org/hibernate/core/3.5/reference/en/html/perf
I kind of "fixed" it, since I found that the issues are only around
anonymous inner classes (stupid javassist and cglib have problems with these
), so I disabled instrumentation on these

【在 r*****s 的大作中提到】
: 我也看不懂您要做什么
: 您是要自己manually instrument lazy init code?
: hibernate本来不就是runtime instrumentation
: thru CGLIB/Dynamic proxies吗?

r*****s
发帖数: 985
4
您说的是lazy loading properties
不是我们一般意义上的lazy loading好吧?
正如hibernate manual说的,
only applicable in “extreme cases”,
基本上我觉得需要这样做的应该考虑分出去一个table.

these

【在 c******n 的大作中提到】
: certain cases need build time instrumentation, please check out this one
: http://docs.jboss.org/hibernate/core/3.5/reference/en/html/perf
: I kind of "fixed" it, since I found that the issues are only around
: anonymous inner classes (stupid javassist and cglib have problems with these
: ), so I disabled instrumentation on these

1 (共1页)
进入Java版参与讨论
相关主题
也问一个Eclipse的问题Java练习题 12
QT is LGPL nowanyone familiar with JNA?
刚刚开始学习java,麻烦帮我看一下我哪里错了行吗?谢谢How to disable hibernate second-level cache for an entity
其实JSP也不错问一个关于access object instance的问题
[合集] 这个annotation,...新手问题。
在线等,java compilation question
Java练习题 2help on this scope question
Java练习题 6Help with Tomcat for Eclipse v1.03
相关话题的讨论汇总
话题: lazy话题: hibernate话题: loading话题: compile