fix some obvious logging bugs
This commit is contained in:
parent
a91383a226
commit
7e571cc75c
|
@ -916,7 +916,7 @@ public final class AnnotationBinder {
|
|||
final boolean generateDiscriminatorColumn;
|
||||
if ( discriminatorColumnAnnotation != null ) {
|
||||
if ( context.getBuildingOptions().ignoreExplicitDiscriminatorsForJoinedInheritance() ) {
|
||||
LOG.debugf( "Ignoring explicit DiscriminatorColumn annotation on ", clazzToProcess.getName() );
|
||||
LOG.debugf( "Ignoring explicit DiscriminatorColumn annotation on: %s", clazzToProcess.getName() );
|
||||
generateDiscriminatorColumn = false;
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -78,7 +78,7 @@ public class BatchingBatch extends AbstractBatchImpl {
|
|||
}
|
||||
catch ( SQLException e ) {
|
||||
abortBatch();
|
||||
LOG.debugf( "SQLException escaped proxy", e );
|
||||
LOG.debug( "SQLException escaped proxy", e );
|
||||
throw sqlExceptionHelper().convert( e, "could not perform addBatch", currentStatementSql );
|
||||
}
|
||||
statementPosition++;
|
||||
|
|
|
@ -61,8 +61,8 @@ public class DefaultSchemaNameResolver implements SchemaNameResolver {
|
|||
}
|
||||
catch (Exception ignore) {
|
||||
log.debugf(
|
||||
"Unable to use Java 1.7 Connection#getSchema : An error occurred trying to resolve the connection default schema resolver: "
|
||||
+ ignore.getMessage() );
|
||||
"Unable to use Java 1.7 Connection#getSchema : An error occurred trying to resolve the connection default schema resolver: %s",
|
||||
ignore.getMessage() );
|
||||
return SchemaNameResolverFallbackDelegate.INSTANCE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue