hibernate-Advance sample project. for defining Database mapping using Hibernate mapping annotation. and handling the CRUD operation with maintaining the key relationship mapping.
##Feature: This is Java Advance Hibernate project where we have used multiple tables to handle Table Mapping association.like,
- One-To-One
- One-To-Many
- Many-to-Many
###Steps to Configure Project:
- Open folder "starter_db_files/"
- Open your MySql Workbench
- open sql file "starter_db_files/01-create-user.sql", to create new user account. If you wish to use your own credentials then you need to change in code.
- Open "starter_db_files/hibernate-mapping-database-scripts", this will contains all the sql files needed to configure data.
Each schema details and instructions are provider within inner feature packageEach schema details and instructions are provider within inner feature package
- Next Open Eclipse IDE installed in your system.
- Import the Project in to you system.
- Need to add Lib jar into classpath, those Jar files are provided under following folder: "lib".
- Now right click on project root in Eclipse, and go to properties.
- Select "Java Build Path" and the select tab "Libraries"
- Click on "Add JARs..." button and got to project based "lib" folder and select the all the jar files and add., 'Apply and Close'
- Run the project
All the application are available under package named "com.anir.hbm.mapping".
TBD
Anirban Maiti: