O&B Insights: #jpa

Transformative Ideas for Leaders in the Fourth Industrial Revolution

Featured image for “Changing The Way We Use JPA”

Article

Changing The Way We Use JPA

June 24, 2021 - I’ve been updating some training materials recently, and thinking about better ways of teaching and talking about JPA. One of the things I’ve been thinking...
Featured image for “Eclipselink 2.5.2 (JPA 2.1.0): Determining Fetch State”

Article

Eclipselink 2.5.2 (JPA 2.1.0): Determining Fetch State

December 21, 2017 - This discussion made use of JPA 2.1.0 and Eclipselink 2.5.2. Specs and implementation and may change in future releases. It might be helpful to test with different versions by...
Featured image for “Isolating the Domain Logic”

Article

Isolating the Domain Logic

January 4, 2017 - Lorenzo explains the reason why code in applications is arranged and split in a certain way, and provides tips for arranging your application. In one...
Featured image for “Architectural Layers and Modeling Domain Logic”

Article

Architectural Layers and Modeling Domain Logic

November 14, 2016 - Lorenzo corrects the impression that the domain model pattern is always the best to use. He provides options and tips on when to use (and...
Featured image for “JPA Pitfalls / Mistakes”

Article

JPA Pitfalls / Mistakes

September 13, 2016 - Learn the common pitfalls/mistakes encountered that caused some problems in Java-based systems that use JPA. From my experience, both in helping teams and conducting training,...
Featured image for “Spring-managed Transactions Explained – Part 1 (JDBC)”

Article

Spring-managed Transactions Explained – Part 1 (JDBC)

September 13, 2016 - Learn how transactions work in plain-vanilla JDBC and how Spring manages JDBC-based transactions. I’ve been meaning to write about this for quite some time now....
Featured image for “Mapping a Map in JPA”

Article

Mapping a Map in JPA

July 14, 2014 - It’s common to see a java.util.List being used for a to-many mapping (with ORM). And it’s also common to need to get an element in that list using some...