Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hibernate CRUD Project

Author

Name: Divisha Mishra GitHub: https://github.com/divishamishra533code


Project Title

Hibernate CRUD Operations


Description

This project demonstrates the implementation of basic CRUD (Create, Read, Update, Delete) operations using the Hibernate ORM framework in Java. It highlights how Hibernate simplifies database interactions by mapping Java objects to relational database tables.


Technologies Used

  • Java
  • Hibernate ORM
  • Maven
  • MySQL (or any relational database)
  • IntelliJ IDEA

Features

  • Insert new records into the database
  • Retrieve and display existing records
  • Update records
  • Delete records
  • Hibernate configuration using hibernate.cfg.xml
  • Dependency management using Maven

Project Structure

hibernate-crude/
│── src/
│   └── main/
│       └── java/
│           └── org/example/
│               ├── Main.java
│               ├── Product.java
│
│── pom.xml
│── .gitignore

How to Run

  1. Clone the repository:
git clone https://github.com/divishamishra533code/Git-hub-lab-2.git
  1. Open the project in IntelliJ IDEA

  2. Configure database settings in hibernate.cfg.xml

  3. Build the project using Maven

  4. Run Main.java


Sample Output

  • Record inserted successfully
  • Data retrieved from the database
  • Record updated successfully
  • Record deleted successfully

Learning Outcomes

  • Understanding of Hibernate ORM framework
  • Performing database operations using Java
  • Maven-based project structure
  • Object-relational mapping concepts

Conclusion

This project provides a foundational understanding of Hibernate and demonstrates how it can be used to efficiently perform database operations in Java-based applications.


Acknowledgment

This project was developed for academic and learning purposes.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages