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 :)



No comments:

Post a Comment

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...