Monica has recently been promoted to the role of architect and is now responsible for laying out the technology stack for a new product at her company. Let’s take a look at what can go wrong if you blindly use Hibernate just because it’s the accepted standard.Ĭonsider Monica, a Java developer.
The obvious answer is to just use Hibernate, right? 90% of Java developers would agree with you, but does that make it the right decision? You want to support all kinds of data, and ideally, support all sorts of databases. You want to pick the best object-oriented abstraction of your flexible data model because you do not want to deal with plain SQL. You need to make the fundamental decisions that will stick with you for the rest of the project. Imagine that you are a Java developer, and you’re about to start your next big project.