Question

When working with annotations on entities in JPA, do these entities belong to the model layer or the persistence layer?

Does there have to be some kind of clone of the entities (simple JavaBeans) in the model layer so it could be decoupled entirely from JPA?

What is the best practice here?

No correct solution

Licensed under: CC-BY-SA with attribution
scroll top