-
- Downloads
Set c3p0 dataSourceName property to include Metabase specific info (#15681)
Set c3p0 dataSourceName property to include Metabase specific info Change data-warehouse-connection-pool-properties multimethod to include database as 2nd param Setting the dataSourceName c3p0 property to have the format db-<N>-<D>-<DB> where <N> is the DW database ID, <D> is the driver name, and <DB> is the database name from the db details Adding test Setting c3p0 dataSourceName for the app DB pool as well
Showing
- modules/drivers/sparksql/src/metabase/driver/hive_like.clj 2 additions, 2 deletionsmodules/drivers/sparksql/src/metabase/driver/hive_like.clj
- src/metabase/db/connection_pool_setup.clj 7 additions, 5 deletionssrc/metabase/db/connection_pool_setup.clj
- src/metabase/driver/sql_jdbc/connection.clj 6 additions, 4 deletionssrc/metabase/driver/sql_jdbc/connection.clj
- test/metabase/db/connection_pool_setup_test.clj 6 additions, 6 deletionstest/metabase/db/connection_pool_setup_test.clj
- test/metabase/driver/sql_jdbc/connection_test.clj 11 additions, 0 deletionstest/metabase/driver/sql_jdbc/connection_test.clj
Please register or sign in to comment