A challenge when developing applications that use object-relational mapping (ORM) like Hibernate and JPA, a common approach is to list each @Entity decorated Java class programmatically either in the ...
A monthly overview of things you need to know as an architect or aspiring architect. Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with ...
In this article, we describe our modularization and transaction management approach with Spring and Hibernate. Similar to the OSGi JPA Service Specification and JDBC, it allows each persistent module ...
Inheritance is a common pattern in object-oriented programming, but it’s not easily replicated in a database. This Java tip shows you how to model inheritance relationships in JPA with Hibernate.
Every JPA entity has a primary key, but some entities have more than one value as their primary key. In this case, you need to use a composite key. This Java tip introduces you to using composite keys ...