Class HibernateSqlCollector

java.lang.Object
com.atlassian.confluence.functest.rest.admin.sqlcapture.HibernateSqlCollector

public final class HibernateSqlCollector extends Object
Records all SQL issued by Hibernate by hooking into the org.hibernate.SQL log4j logger. Filth.
Since:
7.6
  • Method Details

    • getLoggedSql

      public List<String> getLoggedSql(String captureId)
    • enableLogCollection

      public void enableLogCollection()
    • disableLogCollection

      public void disableLogCollection()
    • isLogCollectionEnabled

      public boolean isLogCollectionEnabled()