This tutorial covers the tasks that you can perform on an Oracle
NoSQL Database using Oracle SQL Developer.
Time to Complete
Approximately 30 minutes.
Introduction
In this tutorial, you perform the steps required to configure
and use Oracle NoSQL Database with Oracle SQL Developer.
Hardware and Software Requirements
The following is a list of hardware and software requirements:
Linux Operating System
JDK 8 or above
Oracle NoSQL Database 3.2.5
Oracle SQL Developer 4.1
Prerequisites
Before starting this tutorial, you should:
Have access to an instance with Linux OS installed.
Install JDK, Oracle SQL Developer, and Oracle NoSQL Database.
Downloaded the files required
for this tutorial to a working directory in the Linux instance.
Creating a NoSQL Database Connection
To create a connection to the Oracle NoSQL Database,
perform the following steps:
Confirm that a kvstore is up and running. In this tutorial,
kvlite is used.
To start kvlite, enter the following command in a terminal. KVHOME
refers to the directory where you have installed Oracle NoSQL
Database. This command assumes that Oracle NoSQL Database is
installed in the local machine.
Review the fields. Since, you started kvlite using default
values and this store is not secured, you need not change or
enter any new values. Accept all the default values and click
OK.
View the connection you created by double-clicking the Oracle
NoSQL Database Connections node. If you do not see
it in the list, click the refresh icon.
You have successfully created a connection to the Oracle NoSQL
Database using SQL Developer.
Viewing NoSQL Database Table Schema and Data
To view the table schema and data existing in the kvstore,
perform the following steps:
Running a script to create tables in the KVStore
Expand NoSQL_Connection. You will see a
node called Tables. Note that there are no entries
under the Tables node. This is because there are no tables
in the kvstore kvlite instance you created in the previous
topic.
View Image
You need to create some tables in the kvstore. You can do
this by running the createtables.kvs file
from the files folder for
this tutorial. Open a terminal and navigate to the
directory where the files for this tutorial are located.