Tuesday 31 May 2016

Use Oracle Sequence In Hibernate

Hello Fellas,

Today I'm sharing my learning to how to use Oracle sequence in Hibernate.

1. First create a new sequence or if you want to use the existing one then that is also fine.



2. Go the Entity Class

  • select the field to which you want to make as primary key





Thank You :)



Monday 30 May 2016

Add Library to the Jar

Hello Fellas,

Today I'm sharing my knowledge to how to create a JAR using other JARs(dependencies) like the OJDBC14.jar or SQLJDBC4.jar etc.

Append the menifest file and add the following line at the end of the file.

How to create a Menifest File




Place the lib folder parallel to the jar.

Create the jar including the lib folder like:-






Change the directory where you want to use, and give the lib folder adjacent to JAR file


A Guide to Installing Oracle HR Schema on an Existing Docker Container

  Hi Reader, Today I want to share my learning on how to install Oracle HR schema on a existing docker container. Step 1: Download the verif...