سؤال

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?

لا يوجد حل صحيح

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى softwareengineering.stackexchange
scroll top