File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
hibernate-core/src/main/java/org/hibernate/jpa Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 3232 * Hibernate extension to the Jakarta Persistence {@link PersistenceConfiguration}
3333 * contract.
3434 *
35+ * @apiNote The specification explicitly encourages implementors to extend
36+ * {@link PersistenceConfiguration} to accommodate vendor-specific
37+ * extensions in a more typesafe way. Of course, programs which
38+ * desire configuration logic to be portable between JPA providers
39+ * should use {@code PersistenceConfiguration} directly.
40+ *
3541 * @author Steve Ebersole
3642 *
3743 * @since 7.0
@@ -49,6 +55,9 @@ public HibernatePersistenceConfiguration(String name) {
4955 super ( name );
5056 }
5157
58+ /**
59+ * Create a new {@link SessionFactory} based on this configuration.
60+ */
5261 @ Override
5362 public SessionFactory createEntityManagerFactory () {
5463 return (SessionFactory ) super .createEntityManagerFactory ();
You can’t perform that action at this time.
0 commit comments