Skip to Main Content

Oracle Developer Tools for VS Code

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Default Connection per Session

User_G0IKJJun 13 2022 — edited Jun 13 2022

Is there a way to set a default connection per session / workspace, so that each file being open connects automatically to it?
We find it a bit tedious to connect to the database every time a file opened.

Comments

Manish Kapur-Oracle

Hi Dhruval,

You are using an old tutorial. Refer to the docs and video below. Creating storage containers can now be done via UI and is very easy.

Before You Begin with Oracle Java Cloud Service

https://youtu.be/lN8kwYEedIg

Be sure you also select a Replication Policy before you create your first storage container. See Selecting a Replication Policy for Oracle Storage Cloud Service in Using Oracle Storage Cloud Service. Hope it helps!

DilipG

Hi,

Please refer below scripts and add your credential details in script accordingly.

Syntax:

curl -v -s -X PUT -H "X-Auth-Token: AUTH_tk85388cfc91ece053145e3ff386e96552" https://storage.us2.oraclecloud.com/v1/Storage-myIdentityDomain/myFirstContainer

Script:

curl -v -s -X PUT -H "X-Auth-Token:  AUTH_tk85388cfc91ece053145e3ff386e96552"   https://storage.us2.oraclecloud.com/v1/Storage-dgcloud/myFirstContainer

Regards,

Dilip

SanjeevChauhan

By 403 it seems like your token is expired. You can generate new x-auth-token token and then try.

If your only aim is to create a directory, you can use cloudberry to work with cloud storage.

Technology Blog: Oracle Cloud: Using Cloud Berry to connect with Cloud Storage

Thanks

Sanjeev

1 - 3

Post Details

Added on Jun 13 2022
3 comments
319 views