Does anyone know how to log the prepared statement created by jboss if there is any problem in EJBQL. I would like to view this in the server log.Please let me know if anyone know how to do it.Thanks in advance.regards,Indu