Creating and accessing Encrypted database in OrientDB using the graph APIs

OrientDB supports encrypting database content to prevent unauthorized users from accessing the data. The encryption support is available from version 2.2. To create/access an encrypted database, we need to provide a base64 encoded encryption key. OrientDB supports encryption at a database level and each database can be encrypted with different…

Continue reading

Loading data in an oracle table from a file using sqlldr

We will see how to load data from a file in an oracle table using sqlldr. Table We have a table EMPLOYEE in the oracle database with the following schema:- SQL> desc EMPLOYEE;  Name                                      Null?    Type  —————————————– ——– —————————-  EMP_ID                                    NOT NULL NUMBER(38)  EMP_NAME                                           VARCHAR2(500)  EMP_AGE                                            NUMBER(38) Data File We…

Continue reading

What is JDBC?

JDBC(Java Database Connectivity) provides a standard Java API (Application Programming Interface) for accessing different database systems. JDBC provides a simple, database-independent set of APIs. Using the same APIs we can access a number of database systems in Java. Components of JDBC 1) Driver For connecting to the database we need…

Continue reading

Executing Multiple Update / Insert SQL queries using JDBC on Oracle – Performance improvements

Sometimes we need to execute multiple update/insert queries on our DB. The performance of these queries can be critical for our application. We will see how we can improve performance of multiple update/insert queries on oracle. Create Index on the column/columns used in the WHERE clause for update queries. This…

Continue reading