fixed "packagesToScan" to avoid additional provider scan (SPR-8936)
This commit is contained in:
committed by
Chris Beams
parent
02452a1af9
commit
e0231438cd
@@ -390,7 +390,7 @@ public class DefaultPersistenceUnitManager
|
||||
private SpringPersistenceUnitInfo buildDefaultPersistenceUnitInfo() {
|
||||
SpringPersistenceUnitInfo scannedUnit = new SpringPersistenceUnitInfo();
|
||||
scannedUnit.setPersistenceUnitName(this.defaultPersistenceUnitName);
|
||||
scannedUnit.excludeUnlistedClasses();
|
||||
scannedUnit.setExcludeUnlistedClasses(true);
|
||||
if (this.packagesToScan != null) {
|
||||
for (String pkg : this.packagesToScan) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user