Skip to content

Filjo0/ProjectSQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProjectSQL

Basic project using Hibernate + Maven + MySQL

This project covers basic hibernate concepts:

  1. CRUD operations
  2. Embedding value types
  3. Saving collections
  4. Lazy fetching
  5. Primary key auto generation strategy
  6. One-to-One mapping
  7. One-to-Many mapping
  8. Many-to-One mapping
  9. Many-to-Many mapping
  10. Cascade types
  11. Single Table strategy
  12. Table per Class startegy
  13. Joined strategy
  14. MySQL
  15. Named queries and named native queries
  16. Query by Example

Note: This project needs to be refactored to use best practices which will be done later. As of now this code should be used only for understanding purposes.

Note: Run individual test cases instead of running all the test cases together to understand better. Comment non related annotations and uncomment required annotations by refering the test case and entity class so that you will not get confused.

About

Basic project using Hibernate + Maven + MySQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages