Set Up Live Data Query in DBeaver with JDBC Driver
- Download the latest DBeaver client from DBeaver.
- Download the JDBC driver .jar file and save the file to a local directory. See Live Data Query Downloads.
Through a JDBC connection, Live Data Query enables SQL access from DBeaver to Workday business objects.
- In DBeaver, add a driver to the Driver Manager.
- Configure the below details in theSettingstab:Leave all other fields in theSettingstab as default.
- In theLibrariestab, upload the .jar file you downloaded in the Prerequisites section.
- ClickFind Classto verify the driver class is detected.Ensurecom.workday.dataservice.driver.api.DataServiceDriverappears in the driver class dropdown.
- Create a new database connection using the driver you created above.
- In theConnection Settings, select , and enter details relevant to the authorization flow you’re using:ISUUser-As-SelfJDBC URLjdbc:workday://{HOST}:443Replace{HOST}with the{HOST1}value from the Token Endpoint created in the Live Data Query ISU setup.jdbc:workday://{HOST}:{PORT}?SSLVerification=NONEReplace:
- {HOST}with the{HOST1}value from the Token Endpoint created in the User-As-Self Authentication setup.
- {PORT}with 443.
- On theDriver Propertiestab, add the properties relevant to the authorization flow you’re using:PropertyISUUser As Selfwd.authn.authModelJWT_BEARERAUTHORIZATION_CODEwd.authn.clientIdClient ID created in the Live Data Query ISU setup.Client ID created in the User-As-Self Authentication setup.wd.authn.clientSecretN/AClient secret created in the User-As-Self Authentication setup.wd.authn.isuYour ISU.N/Awd.authn.accessTokenEndpointToken endpoint created in the Live Data Query ISU setup.Example:https://{HOST1}/ccx/oauth2/{TENANT}/tokenToken endpoint created in the User-As-Self Authentication setup.Example:https://{HOST1}/ccx/oauth2/{TENANT}/tokenwd.authn.authorizationEndpointN/AAuthorization endpoint created in the User-As-Self Authentication setup.Example:https://{HOST2}/{TENANT}/authorizewd.authn.privateKeyFilePathThe full path of the private key file.
- Windows Example:C:\Users\user.name\Documents\<privateKeyFile.txt>
- Mac Example:/Users/path/to/your/private_key.pem
For a Windows machine, you must specify thewd.authn.privateKeyFilePathproperty.Thewd.authn.privateKeyandwd.authn.privateKeyFilePathproperties are mutually exclusive. If you specifiedwd.authn.privateKey, don’t specifywd.authn.privateKeyFilePath.N/Awd.authn.privateKeyPrivacy-Enhanced Mail (PEM) format text. Must include the header/footer.Thewd.authn.privateKeyandwd.authn.privateKeyFilePathproperties are mutually exclusive. If you specifiedwd.authn.privateKey, don’t specifywd.authn.privateKeyFilePath.We recommend usingwd.authn.privateKeyFilePathfor LDQ in DBeaver.For information about the private key, see Generate Public and Private Keys for Workday Live Data Query.N/Awd.authn.redirectURLN/Ahttps://localhost:8888/callback - If you use a Single Sign-On, you must log in to your Workday tenant using your default browser before you attempt to connect. This only applies to user-as-self authentication.ClickTest Connectionto verify the configuration.A successful test results in aConnectedmessage. When there are errors, verify that the driver properties and connection settings are configured correctly.
- Save the connection.
- Connect (User-As-Self Authentication Only)
- Double-click the new connection.DBeaver will trigger the OAuth flow, automatically opening your default browser on the Workday login page.
- Log in with your Workday credentials and approve access.The browser redirects tohttps://localhost:8888/callback.
- A browser security warning may appear because the callback server uses a self-signed certificate. Accept the warning to proceed (this is expected — the certificate is local to your machine).You have 5 minutes to complete the browser login. If you exceed this, the connection attempt fails and you can retry.
- Once the browser shows a success message, return to DBeaver. The connection completes automatically.
- Execute a Query
- In theDatabase Navigator, expand the new connection.
- Right-click the connection and select .
- Enter the query in the SQL Editor and clickExecuteto run it.