The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
Upgrade c3p0 to 0.11.2 (#63213)
Oleksandr Yakushev6e3dfdb62bee
diff --git a/deps.edn b/deps.ednindex da55711562d..da8d2dcceeb 100644--- a/deps.edn+++ b/deps.edn@@ -58,7 +58,7 @@{:mvn/version "2.1.214"} ; embedded SQL databasecom.ibm.icu/icu4j {:mvn/version "77.1"} ; Used to transliterate Unicode characters into Latin characterscom.knuddels/jtokkit {:mvn/version "1.1.0"} ; Java tokenizer library for OpenAI models, used for token counting in semantic search- com.mchange/c3p0 {:mvn/version "0.10.1"} ; DB connection pool+ com.mchange/c3p0 {:mvn/version "0.11.2"} ; DB connection poolcom.snowplowanalytics/snowplow-java-tracker ^:antq/exclude ; 2+ depend on apache httpclient 5.x, but saml and clj-http depend on 4.x{:mvn/version "1.0.1"} ; Snowplow analyticscom.sun.mail/jakarta.mail ^:antq/exclude ; 2+ changes imports from javax.mail to jakarta.mail@@ -85,7 +85,7 @@hiccup/hiccup {:mvn/version "2.0.0"} ; HTML templatinginflections/inflections {:mvn/version "0.15.0"} ; Clojure/Script library used for prularizing wordsinstaparse/instaparse {:mvn/version "1.5.0"} ; Make your own parser- io.github.camsaul/toucan2 {:mvn/version "1.0.566"}+ io.github.camsaul/toucan2 {:mvn/version "1.0.567"}io.github.eerohele/pp {#_#_:git/tag "2024-11-13.77" ; super fast pretty-printing library:git/sha "4998a1fdd9d3713d7034d04509e9212204773bf2":git/url "https://github.com/eerohele/pp"}diff --git a/src/metabase/driver/h2.clj b/src/metabase/driver/h2.cljindex 7c62f191dcf..80ce04b8150 100644--- a/src/metabase/driver/h2.clj+++ b/src/metabase/driver/h2.clj@@ -172,7 +172,8 @@^Parser [h2-db-id](with-open [conn (.getConnection (sql-jdbc.execute/datasource-with-diagnostic-info! :h2 h2-db-id))];; The H2 Parser class is created from the H2 JDBC session, but these fields are not public- (let [session (-> conn (get-field "inner") (get-field "session"))]+ (let [inner (.unwrap conn java.sql.Connection) ;; May be a wrapper, get the innermost object that has session field+ session (get-field inner "session")];; Only SessionLocal represents a connection we can create a parser with. Remote sessions and other;; session types are ignored.(when (instance? SessionLocal session)