Java Couchbase |Mysql | Oracle Database Connect And Data Logger!

Oracle 19c , Mysql , Couchbase

İbrahim Yıldız
2 min readJun 14, 2022

--

Hello Everyone, In this article, I will write and explain how to connect and send data to Oracle 19c, Mysql, Couhcbase Databases with Java within the Scope of a Small Project Let’s Get Started

MYSQL CONNECT

In order to use mysqli, we need to install it on our computer and load the jar file into its editor. To load the jar file, we select the dependencies sections from the project structure and select the jar from the add section.

it’s time to connect to mysql we will use jdbc codes for this

MYSQL SELECT AND INSERT

SELECT CODE

INSERT CODE

You can use the same embed codes for updating and deleting operations.
? You can specify the field you want to change and replace it with a set.

ORACLE 19C CONNECT

DCRP Oracle Database Provides a Connection with a Mixed and Dedicated Connection Thanks to the Resindet Connection Pool

If you get a port error, either your service is down or the port conflicts with the other service in the tnsnames.ora file.

ORACLE 19c CRUD

ORACLE INSERT

Can you apply the update in the same way? Places have an index number, so data must be entered according to the data type.

COUCHBASE CONNECTION

Couchbase SDK must be installed. We will use it in SDK maven. Save the downloaded sdk in the pom.xml file, making sure you have written the correct sdk version.

SDK = Maven Central Repository Search

PROJECT

By Using Generics with Couchbase, Oracle and Mysql, We Will Register Our Windows Log To The Database And I Will Publish The Codes On My Linkledin Profile I Hope My Article Has Been Useful Don’t Forget To Like And Follow

SAMPLE LOG

LogHub — Windows Log Data | Kaggle

PROJECT CODE

I will share with your link, follow :)

https://www.linkedin.com/in/ibrahim-yldz11/

SOURCE

Install and Start Using the Java SDK with Couchbase Server | Couchbase Docs

--

--