Get a profiler and show where it is spending the time. 1) The cpu used by each method 2) The "real time" for each method
The results will be different for each, (2) is more interesting, it is closer to what your debug is showing. JBoss doesn't do anything for rs.next() except pass it to the database. For executeQuery(), the only thing it does is make sure the reused connection has the correct configuration. Unless you are playing with things like autocommit or readOnly it won't do anything at this point either. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845606#3845606 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845606 ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
