For those of you who have been using P6Spy as a way to do performance tuning, version 1.0 has been released which includes JBoss 3.x support. P6Spy (open source) logs all SQL statements being generated by EJBs or other JDBC calls with no code changes required to existing applications. You can download it at http://www.p6spy.com
-Jeff