ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mkhitaryan, Aram" <Aram.Mkhitar...@lycos-europe.com>
Subject RE: Enhancement question
Date Fri, 21 Jul 2006 05:49:33 GMT
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,

Aram.

 

________________________________

From: Yee, Richard K CTR DMDC [mailto:Richard.Yee.ctr@osd.pentagon.mil] 
Sent: Thursday, July 20, 2006 6:09 PM
To: 'user-java@ibatis.apache.org'
Subject: RE: Enhancement question

 

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: Mkhitaryan, Aram [mailto:Aram.Mkhitaryan@lycos-europe.com] 
Sent: Wednesday, July 19, 2006 9:33 PM
To: user-java@ibatis.apache.org
Subject: RE: Enhancement question

 

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,

Aram.

 

________________________________

From: Niels Beekman [mailto:n.beekman@wis.nl] 
Sent: Wednesday, July 19, 2006 8:01 PM
To: user-java@ibatis.apache.org
Subject: RE: Enhancement question

 

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: Mkhitaryan, Aram [mailto:Aram.Mkhitaryan@lycos-europe.com] 
Sent: woensdag 19 juli 2006 16:49
To: user-java@ibatis.apache.org
Subject: RE: Enhancement question

 

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,

Aram.

 

________________________________

From: Mkhitaryan, Aram [mailto:Aram.Mkhitaryan@lycos-europe.com] 
Sent: Monday, July 17, 2006 4:05 PM
To: user-java@ibatis.apache.org
Subject: Enhancement question

 

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,

Aram.

 

Mime
View raw message