I've been trying to find some good online resources for learning how to write a mapping/orm.xml for JPA 2.
I'm finding it just impossible. All examples are either for an earlier version, or they simply aren't there. It seems like using annotations is so popular that no one is writing examples for doing the mapping in XML.
Personally, I'd prefer to do the mapping in XML simply because I feel like otherwise I'm adding an unnecessary coupling between JPA and classes that are just simple data holding classes.
Anyway - can anyone recommend any decent online resources for JPA orm.xml?
No comments:
Post a Comment