This content has been marked as final. Show 1 reply
I have found out it is because I have "show_sql" set to true in my hibernate.cfg.xml file. After I set it to false, my application run faster.
Just that I don't understand, I also have "show_sql" set to true when deploy to Apache Tomcat, and the performance is still fast.
Not sure why when deploy to Jboss AS, it seems like I have to disable the show_sql in order to boost up the performance.
Any comment will be very much appreciated.