/hibernate-advance-concept-01

This example demonstrates the hibernate advance topic @ElementCollection and @CollectionTable annotations.

Primary LanguageJava

Hibernate @ElementCollection and @CollectionTable

This example demonstrates the map a collection using hibernate @ElementCollection and CollectionTable annotation.

Tools and Technologies used

  1. Jdk - 1.8 or later
  2. Hibernate - 5.4.4.Final
  3. MySQL - 5.1.47
  4. Maven - 3.1
  5. IDE - Eclipse oxygen

Steps to Install

1. Clone the application

https://github.com/scbushan05/hibernate-advance-concept-01.git

2. Create MySQL database

CREATE DATABASE hibernate_concepts

3. Change mysql username and password as per your installation

  • open src/main/resources

  • change connection.username and connection.password as per your mysql installation

4. Run and Test the application

CTRL+F11

Learn More

You can find the tutorial for this application on my blog Bushan Sirgur