Hibernate Connection Pool Validation Thread should be defined as a daemon Thread

Description

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.

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created August 22, 2018 at 11:59 AM
Updated November 15, 2018 at 1:43 PM
Resolved August 22, 2018 at 6:34 PM