문제

I have a class that has JPA annotations.. @Embedded, @AttributesOverride, etc. Can I use this object as regular POJO / VO? What happens to these annotations then? Are they simply ignored? Or they will still be used / active?

도움이 되었습니까?

해결책

You can safely use these POJOs as you want. Just ignore the annotations. They are needed only for persistence of your entities.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top