2
votes
4answers
217 views

Should OO design, or database design, drive the coding of my @Entity classes?

I have two classes that I want related to each other in an JEE application using JPA2. In an OO world, I would say that a Chatroom has an attribute List messages. In the relational world composition ...
2
votes
2answers
252 views

When designing data models for JPA, what's the best way to make use of polymorphism?

I've been asked to support a Java EE application. The data model was poorly-designed and will not support several necessary use cases; so I'm developing a new data model using EclipseLink (the old one ...
8
votes
3answers
2k views

“Oracle Certified Expert, Java Platform, Enterprise Edition 6 Java Persistence API Developer” Preparation

I have been working with Hibernate for a fews years now, and I want to solidify and demonstrate my knowledge by taking the Oracle JPA certification, also known as: "Oracle Certified Expert, Java ...