new-connection is only if the connection is created.
After that it will be keept open and held in the connection pool.
What if you use the validation statement which is called if the connection is used.
Reply to this message by going to Community
Start a new discussion in Datasource Configuration at Community