How to Connect ATP Database with VBCS using Tenant Setting and Database Wallet

How to Connect ATP Database with VBCS using Tenant Setting and Database Wallet

How to Connect ATP Database with VBCS using Tenant Setting and Database Wallet

In this post, we will see how to connect ATP database with VBCS using Tenant setting and database wallet.

Step1: Provision ATP Database in OCI.

Login to OCI Console and click on navigator.

Navigate to Oracle AI Database —>Autonomous AI Database

A screenshot of a computer

AI-generated content may be incorrect.

Select required compartment and then click on “Create Autonomous AI Database”.

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

Provide display name, database name and select workload type as “Transaction Processing”.

A screenshot of a computer

AI-generated content may be incorrect.

Enable “Always free” option and select database version as “26ai”.

Provide valid passwords for ADMIN user.

A screenshot of a computer

AI-generated content may be incorrect.

Select Access Type as “Secure access from everywhere”.

A screenshot of a computer

AI-generated content may be incorrect.

Provide valid email address and then click on Create.

This will create new ATP Database Instance as shown.

A screenshot of a computer

AI-generated content may be incorrect.

Status will show processing but, in some time, status will change to Available.

A screenshot of a computer

AI-generated content may be incorrect.

Step2: Download Database wallet.

To connect to ATP database from SQL developer or from VBCS, we need to download database wallet.

Click on “Database Connection”

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

Click on Download Wallet.

A screenshot of a computer

AI-generated content may be incorrect.

Provide valid password for wallet and click Download.

Wallet zip file will be downloaded.

A screenshot of a computer

AI-generated content may be incorrect.

Step3: Connect ATP DB from SQL developer using wallet.

Now let us open SQL developer.

A screenshot of a computer

AI-generated content may be incorrect.

Click on New Connection.

A screenshot of a computer

AI-generated content may be incorrect.

Provide required details as shown above and then Click on Test.

A screenshot of a computer

AI-generated content may be incorrect.

Status is showing as “Success” and connection is established successfully with ATP DB from SQL developer.

Click on save and then click on Connect.

Let us test with sample SQL query.

A screenshot of a computer

AI-generated content may be incorrect.

Step4: Connect ATP DB from VBCS using wallet.

Now let us try to connect to this ATP database from VBCS tenant setting.

Navigate to VBCS application —->Settings

A screenshot of a computer

AI-generated content may be incorrect.

Select Tenant Database.

A screenshot of a computer

AI-generated content may be incorrect.

Click on “Use Different Database”

A screenshot of a computer

AI-generated content may be incorrect.

Select Connection Type as “Oracle Autonomous Transaction Processing Cloud Wallet” and upload database wallet.

Also provide wallet zip file and Admin user password and click Next.

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

Click on Finish.

A screenshot of a computer

AI-generated content may be incorrect.

Click on Reload.

ATP database is now connected with VBCS.

Step5: Create VBCS Business Object with ATP Database.

Click on “New Application”.

Provide Application Name and click on Finish.

A screenshot of a application

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

Now click on Business Objects

A screenshot of a computer

AI-generated content may be incorrect.

Click on Business Object to create new Business Object.

A screenshot of a computer

AI-generated content may be incorrect.

Provide Business Object name and Click on Create.

Business Object is created successfully.

Now click on +Field to add new fields to this EmployeeBO.

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

FirstName, LastName and Salary fields are added now.

Let us add some sample data to this Business objects.

Navigate to Business Object Data and click on +Row.

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

Click on Add row.

A screenshot of a computer

AI-generated content may be incorrect.

Now let us stage and publish this application.

A screenshot of a computer

AI-generated content may be incorrect.

A screenshot of a computer

AI-generated content may be incorrect.

Click on Stage.

Let us publish this application.

Click on Publish as shown.

A screenshot of a computer

AI-generated content may be incorrect.

Click on Publish.

A screenshot of a computer

AI-generated content may be incorrect.

Select “Include data from Stage” and then Click on Publish.

As we have integrated ATP database with VBCS, the users below are automatically created in ATP database.

A screenshot of a computer

AI-generated content may be incorrect.

Business Objects in VBCS are now created as tables in ATP database.

Run the query below to get table details.

A screenshot of a computer

AI-generated content may be incorrect.

Let us run table select queries to get business object data.

A screenshot of a computer

AI-generated content may be incorrect.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top