What is the total query time in the 2 examples given? You will have an overhead from java compared to plsql before the actual query is processed on the DB and after the query is finished and the result is transfered back to your application. For very small queries you could end up with this result. If the query is more heavy you shouldn't notice the difference.
/G View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838724#3838724 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838724 ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
