使用具有資源擁有者宣告的 JDBC 連線連線至 Oracle Analytics Cloud,以便查詢語意模型。
bijdbc.properties
檔案。
bijdbc.properties
檔案:
idcsEndpointUrl=https://<IDCS_hostname> idcsClientId=<ID string> idcsClientScope=<ID string> idcsClientSecret=<secret> user=<firstname.lastname@example.com> password=<password>
例如:
idcsEndpointUrl=https://idcs-1a2bc345678901d2e34fgh56789j0ke.identity.c9abc1.oc9def.com
idcsClientId=12a000dc9ef345678000ghij2kl8a34
idcsClientScope=https://<host>.com:443urn:opc:resource:consumer::all
idcsClientSecret=xyz
user=myuser@office.com
password=yourpassword
連線至部署在下列位置的執行處理 | 建立日期 |
---|---|
Oracle Cloud Infrastructure (Gen 2) |
任何日期 |
Oracle Cloud Infrastructure |
2020 年 5 月 12 日或之後 |
在 OAuth
使用下列 URL 格式:
jdbc:oraclebi:https://<host>:<port>/api/jdbc?BIJDBC_PROPERTIES_FILE=<fully qualified location and name of properties file>
例如:
jdbc:oraclebi:https://<host>:443/api/jdbc?BIJDBC_PROPERTIES_FILE=D:\\Workspace\\bijdbc\\bijdbc.properties
連線至部署在下列位置的執行處理 | 建立日期 |
---|---|
Oracle Cloud Infrastructure |
2020 年 5 月 12 日之前 |
在 OAuth
使用下列 URL 格式:
jdbc:oraclebi:https://<host>:<port>/bimodeler/api/jdbc?BIJDBC_PROPERTIES_FILE=<fully qualified location and name of properties file>
例如:
jdbc:oraclebi:https://abcdefghi123-jklmnopqrs4t-je.analytics.ocp.oraclecloud.com:443/bimodeler/api/jdbc?BIJDBC_PROPERTIES_FILE=D:\\Workspace\\bijdbc\\bijdbc.properties
jdbc:oraclebi:https://abcdefghi123-jklmnopqrs4t-je.analytics.ocp.oraclecloud.com:443/api/jdbc?BIJDBC_PROPERTIES_FILE=D:\\Workspace\\bijdbc\\bijdbc.properties