I created a program using Hibernate.
The program reaches the main function end, nevertheless the program is running.
I wonder if it happens when Sessio
Sessio
I had the same problem today, but I found another similar solution:
I inserted at the end of my code the following line:
StandardServiceRegistryBuilder.destroy(serviceRegistry);
And Ta-dah! the program ends.