1 Reply Latest reply on Jan 31, 2006 2:27 PM by Franco

    Monitoring SQL queries in the code

    Vladimir Reznikov Newbie

      Hi,
      We are using Hibernate 3.1 along with JBOSS 4.0.3SP1 (MySQL 5.0 as database).
      Is there is a programatical method to get information abot what SQL queries are currently executed by Hibernate and as a ideal situation to get information about how much time each query takes to execute.

      We do use true
      but it is not what we need( it just shows sql queries on the console). We need kind of "real time info" about queries that are executed right now.

      Thanks.