I love apples to oranges comparisons :)
First off you are not using a connection pool in your jdbc example. Even
though your ibatis code will be run synchronously you will still incur that
overhead.
I am guessing that you are trying to prove to someone that ibatis is just as
fast as jdbc. If tha
Thank you for replying! I tried your suggestion but it did not make any
difference. Setting the value of this property to "false" did not make it
worse either!
-V
Try adding:
or equivalent to your config file.
I ran into this very thing a while ago and found this to be an iss
]
Sent: Saturday, April 25, 2009 11:16 PM
To: user-java@ibatis.apache.org
Subject: What am I doing wrong: Ibatis vs JDBC insert
Hello,
I am trying to insert several thousand records into a table, and using
JDBC with DBCP connection pooling appears to be faster than using iBATIS.
Using