Skip to:
The default Hibernate Connection Pool has a thread that performs a periodic validation for the pool.
This thread is not defined as a daemon. See here.
Thus, although this pool is not recommended for production use, when it is being used, it can prevent the JVM from exiting. This is because the JVM will be waiting for the non-daemon thread to finish before exiting.
The default Hibernate Connection Pool has a thread that performs a periodic validation for the pool.
This thread is not defined as a daemon. See here.
Thus, although this pool is not recommended for production use, when it is being used, it can prevent the JVM from exiting. This is because the JVM will be waiting for the non-daemon thread to finish before exiting.