Skip to content

hibernate-Advance sample project. for defining Database mapping using Hibernate mapping annotation. and handling the operation with maintaining the key relationship mapping

License

Notifications You must be signed in to change notification settings

anir-helix/hibernate-adv-db-mapping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hibernate-adv-db-mapping

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:

  1. Open folder "starter_db_files/"
  2. Open your MySql Workbench
  3. 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.
  4. 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

  1. Next Open Eclipse IDE installed in your system.
  2. Import the Project in to you system.
  3. Need to add Lib jar into classpath, those Jar files are provided under following folder: "lib".
  4. Now right click on project root in Eclipse, and go to properties.
  5. Select "Java Build Path" and the select tab "Libraries"
  6. Click on "Add JARs..." button and got to project based "lib" folder and select the all the jar files and add., 'Apply and Close'
  7. Run the project

Explore Project:

All the application are available under package named "com.anir.hbm.mapping".

Mapping package details :

TBD

Creators

Anirban Maiti:

About

hibernate-Advance sample project. for defining Database mapping using Hibernate mapping annotation. and handling the operation with maintaining the key relationship mapping

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages