Hibernate logo

Hibernate

Idiomatic persistence for Java and relational databases.
830
668
+ 1
17

What is Hibernate?

Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper.
Hibernate is a tool in the Object Relational Mapper (ORM) category of a tech stack.

Who uses Hibernate?

Companies
156 companies reportedly use Hibernate in their tech stacks, including Platform, DAILYHOTEL, and Trendyol Group.

Developers
624 developers on StackShare have stated that they use Hibernate.

Hibernate Integrations

Java, Spring Framework, Spring MVC, TimescaleDB, and Quarkus are some of the popular tools that integrate with Hibernate. Here's a list of all 9 tools that integrate with Hibernate.
Private Decisions at about Hibernate

Here are some stack decisions, common use cases and reviews by members of with Hibernate in their tech stack.

Shared insights
on
HibernateHibernate

Strut や Spring など Java web app flame work での Object Relation Mapperとして Hibernate

See more
Shared insights
on
HibernateHibernate

Persistence layer for backend data; maps entities to the database. Hibernate

See more
Shared insights
on
HibernateHibernate

Mybatis 로 쿼리를 만들고 조건분 분기식 for 문을 쿼리에 달아 더이상 쿼리를 알아 볼 수 없게 되었을때 이게 의마가 있나 싶었다. 그 때 한번 orm 을 써보면 어떨까 싶어 최근에 배우기 시작한 orm 이다. 정말 편하게 개발을 할 수 있는데 일조하고 있다. 다만 결국에 쿼리를 날려 맵핑을 하는데, 쿼리를 잘 모르거나 그에 대한 지식 없이 쓰다가는 망하겠구나 하는 생각이 많이 들었다. Hibernate

See more
Minyoung Kim
Minyoung Kim
Back-end Developer · | 1 upvotes · 7 views
Shared insights
on
HibernateHibernate

Spring Data JPA 구현체로 사용 Hibernate

See more
NIDHISH PUTHIYADATH
NIDHISH PUTHIYADATH
Lead Software Engineer at EDIFECS · | 1 upvotes · 94.5K views

Material Design for Angular Angular 2 Node.js TypeScript Spring-Boot RxJS Microsoft SQL Server Hibernate Spring MVC

We built our customer facing portal application using Angular frontend backed by Spring boot.

See more
Ganesa Vijayakumar
Ganesa Vijayakumar
Full Stack Coder | Module Lead · | 15 upvotes · 1.3M views

I'm planning to create a web application and also a mobile application to provide a very good shopping experience to the end customers. Shortly, my application will be aggregate the product details from difference sources and giving a clear picture to the user that when and where to buy that product with best in Quality and cost.

I have planned to develop this in many milestones for adding N number of features and I have picked my first part to complete the core part (aggregate the product details from different sources).

As per my work experience and knowledge, I have chosen the followings stacks to this mission.

UI: I would like to develop this application using React, React Router and React Native since I'm a little bit familiar on this and also most importantly these will help on developing both web and mobile apps. In addition, I'm gonna use the stacks JavaScript, jQuery, jQuery UI, jQuery Mobile, Bootstrap wherever required.

Service: I have planned to use Java as the main business layer language as I have 7+ years of experience on this I believe I can do better work using Java than other languages. In addition, I'm thinking to use the stacks Node.js.

Database and ORM: I'm gonna pick MySQL as DB and Hibernate as ORM since I have a piece of good knowledge and also work experience on this combination.

Search Engine: I need to deal with a large amount of product data and it's in-detailed info to provide enough details to end user at the same time I need to focus on the performance area too. so I have decided to use Solr as a search engine for product search and suggestions. In addition, I'm thinking to replace Solr by Elasticsearch once explored/reviewed enough about Elasticsearch.

Host: As of now, my plan to complete the application with decent features first and deploy it in a free hosting environment like Docker and Heroku and then once it is stable then I have planned to use the AWS products Amazon S3, EC2, Amazon RDS and Amazon Route 53. I'm not sure about Microsoft Azure that what is the specialty in it than Heroku and Amazon EC2 Container Service. Anyhow, I will do explore these once again and pick the best suite one for my requirement once I reached this level.

Build and Repositories: I have decided to choose Apache Maven and Git as these are my favorites and also so popular on respectively build and repositories.

Additional Utilities :) - I would like to choose Codacy for code review as their Startup plan will be very helpful to this application. I'm already experienced with Google CheckStyle and SonarQube even I'm looking something on Codacy.

Happy Coding! Suggestions are welcome! :)

Thanks, Ganesa

See more
Public Decisions about Hibernate

Here are some stack decisions, common use cases and reviews by companies and developers who chose Hibernate in their tech stack.

Ganesa Vijayakumar
Ganesa Vijayakumar
Full Stack Coder | Module Lead · | 15 upvotes · 1.3M views

I'm planning to create a web application and also a mobile application to provide a very good shopping experience to the end customers. Shortly, my application will be aggregate the product details from difference sources and giving a clear picture to the user that when and where to buy that product with best in Quality and cost.

I have planned to develop this in many milestones for adding N number of features and I have picked my first part to complete the core part (aggregate the product details from different sources).

As per my work experience and knowledge, I have chosen the followings stacks to this mission.

UI: I would like to develop this application using React, React Router and React Native since I'm a little bit familiar on this and also most importantly these will help on developing both web and mobile apps. In addition, I'm gonna use the stacks JavaScript, jQuery, jQuery UI, jQuery Mobile, Bootstrap wherever required.

Service: I have planned to use Java as the main business layer language as I have 7+ years of experience on this I believe I can do better work using Java than other languages. In addition, I'm thinking to use the stacks Node.js.

Database and ORM: I'm gonna pick MySQL as DB and Hibernate as ORM since I have a piece of good knowledge and also work experience on this combination.

Search Engine: I need to deal with a large amount of product data and it's in-detailed info to provide enough details to end user at the same time I need to focus on the performance area too. so I have decided to use Solr as a search engine for product search and suggestions. In addition, I'm thinking to replace Solr by Elasticsearch once explored/reviewed enough about Elasticsearch.

Host: As of now, my plan to complete the application with decent features first and deploy it in a free hosting environment like Docker and Heroku and then once it is stable then I have planned to use the AWS products Amazon S3, EC2, Amazon RDS and Amazon Route 53. I'm not sure about Microsoft Azure that what is the specialty in it than Heroku and Amazon EC2 Container Service. Anyhow, I will do explore these once again and pick the best suite one for my requirement once I reached this level.

Build and Repositories: I have decided to choose Apache Maven and Git as these are my favorites and also so popular on respectively build and repositories.

Additional Utilities :) - I would like to choose Codacy for code review as their Startup plan will be very helpful to this application. I'm already experienced with Google CheckStyle and SonarQube even I'm looking something on Codacy.

Happy Coding! Suggestions are welcome! :)

Thanks, Ganesa

See more
NIDHISH PUTHIYADATH
NIDHISH PUTHIYADATH
Lead Software Engineer at EDIFECS · | 1 upvotes · 94.5K views

Material Design for Angular Angular 2 Node.js TypeScript Spring-Boot RxJS Microsoft SQL Server Hibernate Spring MVC

We built our customer facing portal application using Angular frontend backed by Spring boot.

See more
Miguel Suarez
Miguel Suarez
Lead Developer · | 1 upvotes · 12.3K views
Shared insights
on
HibernateHibernate
at

Hibernate @mybatis, #ObjectRelationalMapperOrm

We needed a performant ORM that wouldn't add too much magic or complex intermediate layers.

Hibernate is a very mature tool, but it's gone too far in abstracting OOP from relational databases. It works nicely for simple CRUD operations and it's integration with Spring is fantastic. Its biggest downside, in our opinion, is when it comes to complex queries from several tables. For these cases it normally requires using HQL or other proprietary query building mechanisms.

MyBatis provides a very lightweight and mature ORM. We prefer it over Hibernate because:

  • It doesn't add an extra layer of complexity, you can either ask MyBatis Generator to generate the SQL queries for you, or write your own SQL

  • Writing SQL can be cumbersome, but with it you have great, standard mechanisms of optimization and can execute queries directly to a slave of your production DB to measure performance and improve it if needed.

  • Its integration with Spring is very straightforward nowadays. You can use annotation based DAOs and the mappers between fields and columns are automatic if you respect the naming conventions in both sides.

In general we feel that with MyBatis we can have a better development experience, easier to tune-up queries, zero boilerplate and a simplified integration test platform.

See more
markdaly
markdaly
COO at Analytical Informatics · | 1 upvotes · 10.6K views

We use a Clojure-powered wrapper around Hibernate to provide an ORM access to our data store for applications, as well as offering SSO integration and HIPAA logging functionality. Hibernate

See more
Shared insights
on
HibernateHibernate

Mybatis 로 쿼리를 만들고 조건분 분기식 for 문을 쿼리에 달아 더이상 쿼리를 알아 볼 수 없게 되었을때 이게 의마가 있나 싶었다. 그 때 한번 orm 을 써보면 어떨까 싶어 최근에 배우기 시작한 orm 이다. 정말 편하게 개발을 할 수 있는데 일조하고 있다. 다만 결국에 쿼리를 날려 맵핑을 하는데, 쿼리를 잘 모르거나 그에 대한 지식 없이 쓰다가는 망하겠구나 하는 생각이 많이 들었다. Hibernate

See more
Shared insights
on
HibernateHibernate

Strut や Spring など Java web app flame work での Object Relation Mapperとして Hibernate

See more

Hibernate Alternatives & Comparisons

What are some alternatives to Hibernate?
MyBatis
It is a first class persistence framework with support for custom SQL, stored procedures and advanced mappings. It eliminates almost all of the JDBC code and manual setting of parameters and retrieval of results. It can use simple XML or Annotations for configuration and map primitives, Map interfaces and Java POJOs (Plain Old Java Objects) to database records.
Spring
A key element of Spring is infrastructural support at the application level: Spring focuses on the "plumbing" of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.
Sequelize
Sequelize is a promise-based ORM for Node.js and io.js. It supports the dialects PostgreSQL, MySQL, MariaDB, SQLite and MSSQL and features solid transaction support, relations, read replication and more.
SQLAlchemy
SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
Doctrine 2
Doctrine 2 sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernates HQL.
See all alternatives

Hibernate's Followers
668 developers follow Hibernate to keep up with related blogs and decisions.
Jérémy SCARELLA
tushar shete
shrawan vicky
Kaustubh Pise
Haribabu Namduri
Mikhail Pikulik
j cii
Hassen Mohammed
PRAVEEN RAWAT
Rahul Raj