I’m not able to use the connection to Oracle, is there any prerequisites?
on file \metabase\src\metabase\driver\oracle.clj :
;; only register the Oracle driver if the JDBC driver is available
(when (u/ignore-exceptions
(Class/forName “oracle.jdbc.OracleDriver”))
;; By default the Oracle JDBC driver isn’t compliant with JDBC standards – instead of returning types like java.sql.Timestamp
;; it returns wacky types like oracle.sql.TIMESTAMPT. By setting this System property the JDBC driver will return the appropriate types.
;; See this page for more details: http://docs.oracle.com/database/121/JJDBC/datacc.htm#sthref437
(.setProperty (System/getProperties) “oracle.jdbc.J2EE13Compliant” “TRUE”)
@frank11111111 Can you share what you tried regrading mapping of the Oracle driver to the docker container. “It does not work” is not much to go by if you want anyone to try to help you out.
Try also setting the MB_PLUGINS_DIR environment variable (in your preferred way) so it’s detected by Metabase.jar in the container. I know it shouldn’t be necessary with your use of the default location … but I think someone in here mentioned it as a needed extra workaround.
I have wanted to try that out myself as well to get another JDBC driver to work in Docker … but never got around to it …
Also: do you see the plugin being detected or not in the console log when the container starts?