Announcement Announcement Module
Collapse
No announcement yet.
JPA,Spring 3 and how to persist "3rd party packages" - entities? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • JPA,Spring 3 and how to persist "3rd party packages" - entities?

    Hello,

    I'm new to Spring.
    I've set up the complete config for jpa/hibernate + postgresql + spring 3 with maven. I don't have problems with my own entities(annotations), but how do I persist objects of 3rd party packages?
    I can't use annotations. orm.xml?

    example:
    com.example.entities.Person
    attributes: name, address, other one-to-many/many-to-many/1to1 relations with entities of the same package.

    com.example.entities.Address
    attributes: street, cap, ...

    What is the best (generic) approach for this problem?

    Thanks!
Working...
X