Stellen Sie über eine JDBC-Verbindung mit Ressourceneigentümer-Assertion eine Verbindung zu Oracle Analytics Cloud her, damit Sie das semantische Modell abfragen können.
bijdbc.properties
mit den OAuth-Authentifizierungs- und -Autorisierungseigenschaften, die für die Verbindung mit Ihrer Oracle Analytics Cloud-Instanz erforderlich sind.
bijdbc.properties
:
idcsEndpointUrl=https://<IDCS_hostname> idcsClientId=<ID string> idcsClientScope=<ID string> idcsClientSecret=<secret> user=<firstname.lastname@example.com> password=<password>
Beispiel:
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
Zur Verbindung mit einer Instanz, die bereitgestellt ist auf: | Erstellungsdatum |
---|---|
Oracle Cloud Infrastructure (2. Generation) |
Beliebig |
Oracle Cloud Infrastructure |
12. Mai 2020 oder später |
Verwenden Sie folgendes URL-Format mit OAuth
:
jdbc:oraclebi:https://<host>:<port>/api/jdbc?BIJDBC_PROPERTIES_FILE=<fully qualified location and name of properties file>
Beispiel:
jdbc:oraclebi:https://<host>:443/api/jdbc?BIJDBC_PROPERTIES_FILE=D:\\Workspace\\bijdbc\\bijdbc.properties
Zur Verbindung mit einer Instanz, die bereitgestellt ist auf: | Erstellungsdatum |
---|---|
Oracle Cloud Infrastructure |
Vor dem 12. Mai 2020 |
Verwenden Sie folgendes URL-Format mit OAuth
:
jdbc:oraclebi:https://<host>:<port>/bimodeler/api/jdbc?BIJDBC_PROPERTIES_FILE=<fully qualified location and name of properties file>
Beispiel:
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