|
I’m doing 50000 inserts (2 columns)
in one test ant 50000 select (inserted data) in another one. First time I’m doing testing with
enhancement enabled configuration. Second time I’m doing testing with
enhancement disabled configuration. I think 50000 executions is not so small
to feel if there is execution time difference between two tests (difference is
about 500 ms and cause can be only system). Thank you in advance, From: Yee, Richard K
CTR DMDC [mailto:[EMAIL PROTECTED] How are you testing it? What are the
execution times that your are seeing. It may be that the difference in
performance is too small to notice in a single SQL statement execution or that
the time that the SQL operation takes is much longer than the time spent in the
iBATIS java code. -Richard From: Thanks for your reply, I did already what you noticed a lot of
times and did a lot of tests. Nothing is changed when configuration is
changed from enhancementEnabled="true"
to enhancementEnabled="false". I don't see execution time changes. Thank you in advance, From: Niels Beekman
[mailto:[EMAIL PROTECTED] Use of enhancementEnabled="true"
causes optimized property access using CGLIB. Use of
lazyLoadingEnabled="true" enables lazy loading, i.e. deferring
database queries until objects are actually requested. HTH, Niels From: All - Sorry for spamming, But it is too urgent, Can someone say how enhancement should
be switched on? I putted cglib jar to the classpath and
seted enhancementEnabled=true. What else should I do? Thank you in advance, From: Hi All, I'm trying to switch on enhancement in sql maps. I set enhancementEnabled to true and added cglib's jar to
the classpath. But it makes no sense. My tests show the same result for
true and false values of enhancementEnabled attribute. Please, help me to switch on the enhancement. Thank you in advance, |
