| 限定符和类型 | 方法和说明 |
|---|---|
static ConnectionInformation |
fromConnection(Connection connection)
This method should only be used in test scenarios
|
int |
getConnectionId() |
ConnectionInformation |
getConnectionInformation() |
String |
getSql() |
String |
getSqlWithValues() |
public static ConnectionInformation fromConnection(Connection connection)
connection - the underlying connection (possibly a mock)ConnectionInformation instancepublic int getConnectionId()
public String getSqlWithValues()
getSqlWithValues 在接口中 LoggableSQL having '?' replaced with real values used.public ConnectionInformation getConnectionInformation()
getConnectionInformation 在接口中 LoggableCopyright © 2019. All rights reserved.