I'm trying to improve the latency in one of our services (RHEL5, JBoss 4.2.3, Oracle). Normal response times are inside 60-70ms range, and I'm hopping we can do better. One of the things I like to test is not aggressively releasing the connection. I read here that you have tree connection release modes in hibernate, but the AFTER_STATEMENT mode is the default, and the AFTER_TRANSACTION mode is not recomended for JTA. Has anybody made something like this ? I haven't found a way to configure it inside JBoss (the option is not present here) ... Do you think is worth it ?