File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
hibernate-core/src/main/java/org/hibernate/jpa Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 7676 * {@code hibernate-scan-jandex} or some other service implementing
7777 * {@link org.hibernate.boot.archive.scan.spi.ScannerFactory} is available,
7878 * the given URLs are scanned for entity classes, alleviating the program
79- * of the need to call {@link #managedClass}.
79+ * of the need to call {@link #managedClass} or {@link #mappingFile} .
8080 *
8181 * @apiNote The specification explicitly encourages implementors to extend
8282 * {@link PersistenceConfiguration} to accommodate vendor-specific
9090 */
9191public class HibernatePersistenceConfiguration extends PersistenceConfiguration {
9292
93- private URL rootUrl ;
93+ private final URL rootUrl ;
9494 private final List <URL > jarFileUrls = new ArrayList <>();
9595
9696 /**
@@ -103,6 +103,7 @@ public class HibernatePersistenceConfiguration extends PersistenceConfiguration
103103 */
104104 public HibernatePersistenceConfiguration (String name ) {
105105 super ( name );
106+ this .rootUrl = null ;
106107 }
107108
108109 /**
You can’t perform that action at this time.
0 commit comments