java.lang.Object
ch.tocco.nice2.persist.core.api.hibernate.spy.SqlLogEntry

public class SqlLogEntry extends Object
  • Constructor Details

    • SqlLogEntry

      public SqlLogEntry()
  • Method Details

    • createLogEntry

      public static SqlLogEntry createLogEntry(int connectionId, String timestamp, long elapsed, String category, String prepared, String sql)
    • getConnectionId

      public int getConnectionId()
    • setConnectionId

      public void setConnectionId(int connectionId)
    • getTimestamp

      public org.joda.time.DateTime getTimestamp()
    • setTimestamp

      public void setTimestamp(org.joda.time.DateTime timestamp)
    • getElapsed

      public long getElapsed()
    • setElapsed

      public void setElapsed(long elapsed)
    • getCategory

      public String getCategory()
    • setCategory

      public void setCategory(String category)
    • getPrepared

      public String getPrepared()
    • setPrepared

      public void setPrepared(String prepared)
    • getSql

      public String getSql()
    • setSql

      public void setSql(String sql)
    • getFormatedTimestamp

      public String getFormatedTimestamp()