Class SqlLogEntry
java.lang.Object
ch.tocco.nice2.persist.core.api.hibernate.spy.SqlLogEntry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SqlLogEntry
createLogEntry
(int connectionId, String timestamp, long elapsed, String category, String prepared, String sql) int
long
getSql()
org.joda.time.DateTime
void
setCategory
(String category) void
setConnectionId
(int connectionId) void
setElapsed
(long elapsed) void
setPrepared
(String prepared) void
void
setTimestamp
(org.joda.time.DateTime timestamp)
-
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
-
setCategory
-
getPrepared
-
setPrepared
-
getSql
-
setSql
-
getFormatedTimestamp
-