We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5799eed commit 989eef5Copy full SHA for 989eef5
backend/apps/db/db.py
@@ -72,7 +72,7 @@ def get_uri_from_config(type: str, conf: DatasourceConf) -> str:
72
else:
73
db_url = f"postgresql+psycopg2://{urllib.parse.quote(conf.username)}:{urllib.parse.quote(conf.password)}@{conf.host}:{conf.port}/{conf.database}"
74
elif equals_ignore_case(type, "oracle"):
75
- if equals_ignore_case(conf.mode, "service_name"):
+ if equals_ignore_case(conf.mode, "service_name", "serviceName"):
76
if conf.extraJdbc is not None and conf.extraJdbc != '':
77
db_url = f"oracle+oracledb://{urllib.parse.quote(conf.username)}:{urllib.parse.quote(conf.password)}@{conf.host}:{conf.port}?service_name={conf.database}&{conf.extraJdbc}"
78
0 commit comments