File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
spring-orm/src/main/java/org/springframework/orm/jpa/persistenceunit Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -513,9 +513,9 @@ private List<SpringPersistenceUnitInfo> readPersistenceUnitInfos() {
513
513
514
514
if (buildDefaultUnit ) {
515
515
if (foundDefaultUnit ) {
516
- if (logger .isDebugEnabled ()) {
517
- logger .debug ("Found explicit default unit with name '" + defaultName + "' in persistence.xml - " +
518
- "overriding local default unit settings ('packagesToScan'/'mappingResources')" );
516
+ if (logger .isWarnEnabled ()) {
517
+ logger .warn ("Found explicit default persistence unit with name '" + defaultName + "' in persistence.xml - " +
518
+ "overriding local default persistence unit settings ('packagesToScan'/'mappingResources')" );
519
519
}
520
520
}
521
521
else {
You can’t perform that action at this time.
0 commit comments