Spy spy
ConnectionSpy
that was opened or closed.
Will be used to build the message
, only when needed.ConnectionMessage.Operation operation
int
to define if the operation was to open, or to close connection.
Should be equals to OPENING
if the operation was to open the connection,
to CLOSING
if the operation was to close the connection.
Will be used to build the message
, only when needed.#Operation
,
SqlMessage.message
,
ConnectionMessage.buildMessage()
long execTime
long
defining the time elapsed to open or close the connection in ms.
Will be used to build the message
, only when needed.Spy spy
Spy
wrapping the class that threw an Exception
.
Will be used to build the message
, only when needed.String methodCall
String
describing the name and call parameters
of the method generated the Exception
.
Will be used to build the message
, only when needed.long execTime
long
representing the amount of time
that passed before an Exception
was thrown when sql was being executed.
Optional and should be set to -1 if not used.
Will be used to build the message
, only when needed.String sql
String
representing the sql that occurred
just before the exception occurred.
Optional and null
if not used.
Will be used to build the message
, only when needed.Spy spy
Spy
wrapping the class that called the method that returned.
Will be used to build the message
, only when needed.String returnMsg
String
describing the name and call parameters of the method that returned.
Will be used to build the message
, only when needed.String methodCall
message
, only when needed.String methodCall
String
describing the name and call parameters
of the method that generated the SQL.
Will be used to build the message
, only when needed.
It is not used in the current implementation of log4jdbclong execTime
message
, only when needed.Spy spy
Spy
wrapping the class where the SQL occurred.
Will be used to build the message
, only when needed.String sql
String
representing the sql that occurred.
Will be used to build the message
, only when needed.Copyright © 2013 Bgee - Swiss Institute of Bioinformatics. All Rights Reserved.