When using Java Persistence API (JPA), which layer owns the entities?
https://softwareengineering.stackexchange.com/questions/133996
-
04-11-2019 - |
سؤال
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?
لا يوجد حل صحيح
لا تنتمي إلى softwareengineering.stackexchange