We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9aebcf6 commit 91aee82Copy full SHA for 91aee82
documentation/src/main/docbook/manual/en-US/content/tutorial.xml
@@ -589,7 +589,7 @@ public class HibernateUtil {
589
private static SessionFactory buildSessionFactory() {
590
try {
591
// Create the SessionFactory from hibernate.cfg.xml
592
- new Configuration().configure().buildSessionFactory(
+ return new Configuration().configure().buildSessionFactory(
593
new StandardServiceRegistryBuilder().build() );
594
}
595
catch (Throwable ex) {
0 commit comments