I use Slick 3.x with Play 2.3.9 without play-slick, because play-slick does not support this combination. I read
http://blog.knoldus.com/2015/03/03/play-with-reactive-slick-a-simple-crud-application-in-play-framework-using-slick-3-0/
And he mentioned that the database connection should be explicitly closed ie
def delete(id: Long): Future[Int] = try db.run(filterQuery(id).delete) finally db.close
Do I need to close the connection explicitly, as indicated in the article? Will db.closeclose the connection and pool? Because OTH, the examples in the Slick 3.0 document did not explicitly close the connection. I could misunderstand the document. Thanks
db.close
MySQL, show processlist , , , , . , db db.run(...), db.close .
show processlist
db.run(...)
db.close . , , . , db, , .
db.close . db.run()
Source: https://habr.com/ru/post/1611363/More articles:Smooth scrolling div for div - javascriptmySQL SELECT more than one - mysqlAutomatically generate year based on future date - dateUpdating multiple packages in the package manager console in Visual Studio - visual-studioWhere can I find celery magazines in a flask? - pythonHow to use GADT for modules in OCaml without warning? - typesDownload OracleXE with wget - oracleWhat are the credentials used by Datalab to access data? - google-cloud-platformSolrException: maxNumThreadStates should be> = 1, but it was: 0 - solrError Wget 503 - web-scrapingAll Articles