{"action":"opened","issue":{"url":"https://api.github.com/repos/slick/slick/issues/1326","labels_url":"https://api.github.com/repos/slick/slick/issues/1326/labels{/name}","comments_url":"https://api.github.com/repos/slick/slick/issues/1326/comments","events_url":"https://api.github.com/repos/slick/slick/issues/1326/events","html_url":"https://github.com/slick/slick/issues/1326","id":112247295,"number":1326,"title":"HikariCP poolName not read from config","user":{"login":"rickynils","id":16779,"avatar_url":"https://avatars.githubusercontent.com/u/16779?v=3","gravatar_id":"","url":"https://api.github.com/users/rickynils","html_url":"https://github.com/rickynils","followers_url":"https://api.github.com/users/rickynils/followers","following_url":"https://api.github.com/users/rickynils/following{/other_user}","gists_url":"https://api.github.com/users/rickynils/gists{/gist_id}","starred_url":"https://api.github.com/users/rickynils/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickynils/subscriptions","organizations_url":"https://api.github.com/users/rickynils/orgs","repos_url":"https://api.github.com/users/rickynils/repos","events_url":"https://api.github.com/users/rickynils/events{/privacy}","received_events_url":"https://api.github.com/users/rickynils/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-19T22:36:50Z","updated_at":"2015-10-19T22:36:50Z","closed_at":null,"body":"In `HikariCPJdbcDataSource.forConfig`, the pool name is not read from the config value (`poolName`, as documented on the HikariCP wiki), but instead picked up from the `name` argument (see https://github.com/slick/slick/blob/master/slick-hikaricp/src/main/scala/slick/jdbc/hikaricp/HikariCPJdbcDataSource.scala#L47).\r\n\r\nFurthermore, the `name` argument is actually the `path` argument of the `JdbcBackend.forConfig` call (see https://github.com/slick/slick/blob/master/slick/src/main/scala/slick/jdbc/JdbcBackend.scala#L268), which is confusing since you get an empty pool name if you use a top-level config.\r\n\r\nIs there any reasoning why the pool name is set like this and not simply picked up from the config?"}}