lighter punctuation in binding/extracting log message (#6790)
This commit is contained in:
parent
96941f3775
commit
aff3c105b6
|
@ -26,7 +26,7 @@ public interface JdbcBindingLogging {
|
|||
assert TRACE_ENABLED;
|
||||
|
||||
LOGGER.tracef(
|
||||
"binding parameter [%s] as [%s] - [%s]",
|
||||
"binding parameter (%s:%s) <- [%s]",
|
||||
jdbcPosition,
|
||||
JdbcTypeNameMapper.getTypeName( typeCode ),
|
||||
value
|
||||
|
@ -37,7 +37,7 @@ public interface JdbcBindingLogging {
|
|||
assert TRACE_ENABLED;
|
||||
|
||||
LOGGER.tracef(
|
||||
"binding parameter [%s] as [%s] - [null]",
|
||||
"binding parameter (%s:%s) <- [null]",
|
||||
jdbcPosition,
|
||||
JdbcTypeNameMapper.getTypeName( typeCode )
|
||||
);
|
||||
|
@ -47,7 +47,7 @@ public interface JdbcBindingLogging {
|
|||
assert TRACE_ENABLED;
|
||||
|
||||
LOGGER.tracef(
|
||||
"binding parameter [%s] as [%s] - [%s]",
|
||||
"binding parameter (%s:%s) <- [%s]",
|
||||
callableParameterName,
|
||||
JdbcTypeNameMapper.getTypeName( typeCode ),
|
||||
value
|
||||
|
@ -58,7 +58,7 @@ public interface JdbcBindingLogging {
|
|||
assert TRACE_ENABLED;
|
||||
|
||||
LOGGER.tracef(
|
||||
"binding parameter [%s] as [%s] - [null]",
|
||||
"binding parameter (%s:%s) <- [null]",
|
||||
callableParameterName,
|
||||
JdbcTypeNameMapper.getTypeName( typeCode )
|
||||
);
|
||||
|
|
|
@ -26,7 +26,7 @@ public interface JdbcExtractingLogging {
|
|||
assert TRACE_ENABLED;
|
||||
|
||||
JdbcExtractingLogging.LOGGER.tracef(
|
||||
"extracted value ([%s] : [%s]) - [%s]",
|
||||
"extracted value (%s:%s) -> [%s]",
|
||||
jdbcPosition,
|
||||
JdbcTypeNameMapper.getTypeName( typeCode ),
|
||||
value
|
||||
|
@ -37,7 +37,7 @@ public interface JdbcExtractingLogging {
|
|||
assert TRACE_ENABLED;
|
||||
|
||||
JdbcExtractingLogging.LOGGER.tracef(
|
||||
"extracted value ([%s] : [%s]) - [null]",
|
||||
"extracted value (%s:%s) -> [null]",
|
||||
jdbcPosition,
|
||||
JdbcTypeNameMapper.getTypeName( typeCode )
|
||||
);
|
||||
|
@ -47,7 +47,7 @@ public interface JdbcExtractingLogging {
|
|||
assert TRACE_ENABLED;
|
||||
|
||||
JdbcExtractingLogging.LOGGER.tracef(
|
||||
"extracted value ([%s] : [%s]) - [%s]",
|
||||
"extracted value (%s:%s) -> [%s]",
|
||||
callableParamName,
|
||||
JdbcTypeNameMapper.getTypeName( typeCode ),
|
||||
value
|
||||
|
@ -58,7 +58,7 @@ public interface JdbcExtractingLogging {
|
|||
assert TRACE_ENABLED;
|
||||
|
||||
JdbcExtractingLogging.LOGGER.tracef(
|
||||
"extracted value ([%s] : [%s]) - [null]",
|
||||
"extracted value (%s:%s) -> [null]",
|
||||
callableParamName,
|
||||
JdbcTypeNameMapper.getTypeName( typeCode )
|
||||
);
|
||||
|
|
|
@ -89,7 +89,7 @@ public final class JdbcTypeNameMapper {
|
|||
* If a type code is not recognized, it is reported as {@code UNKNOWN(?)} where '?'
|
||||
* is replaced with the given type code.
|
||||
*
|
||||
* Intended as useful for logging purposes...
|
||||
* @apiNote Useful for logging.
|
||||
*
|
||||
* @param typeCode The type code to find the name for.
|
||||
*
|
||||
|
|
|
@ -32,7 +32,7 @@ import static org.junit.Assert.assertTrue;
|
|||
*/
|
||||
@MessageKeyInspection(
|
||||
logger = @Logger( loggerName = JdbcBindingLogging.NAME ),
|
||||
messageKey = "binding parameter ["
|
||||
messageKey = "binding parameter"
|
||||
)
|
||||
@DomainModel( annotatedClasses = OrdinalEnumTypeTest.Person.class )
|
||||
@SessionFactory
|
||||
|
|
|
@ -29,7 +29,7 @@ import static org.junit.Assert.assertTrue;
|
|||
|
||||
@MessageKeyInspection(
|
||||
logger = @Logger( loggerName = JdbcBindingLogging.NAME ),
|
||||
messageKey = "binding parameter ["
|
||||
messageKey = "binding parameter"
|
||||
)
|
||||
@DomainModel( annotatedClasses = VarcharEnumTypeTest.Person.class )
|
||||
@SessionFactory
|
||||
|
|
Loading…
Reference in New Issue