Do database connection pools need to be shut down

  mysql, question

On the server side, after creating a DataSource, does the Datasource need to be shut down?
Before using conn, it was a time-use application. When you use Conn, you close it.
Does this Datasource automatically manage conn without shutting down?

Of course, DataSource doesn’t need to be shut down. you can think of it directly as a connection pool. once it is shut down, you need to create a connection pool again, which is very expensive.