1. JPA Entity mapping with no foreign keys available stackoverflow.comI dont really get to work with entity beans, but they are staring at me right now. We have a couple of tables that are related to each other, but there are ... |
2. JPA Inheritance stackoverflow.comHi I'm new to JPA and I'm having trouble understanding how it handles inheritance.. I have a specific problem I need solved without changing the DB scheme.. but if you ... |
3. Multi-level inheritance & JPA / TopLink java.net> Hi. When I create the following class hierarchy (AAA <- BBB <- CCC): > > [code] > @Inheritance(strategy = InheritanceType.JOINED) > @Entity > public class AAA { > > @Id > public long id; > > @Basic > public String aaa; > } > ------------------------------- > @Entity > @PrimaryKeyJoinColumn > public class BBB extends AAA { > > @Basic > ... |
4. JPA Toplink ManyToMany Persistence Problem java.netChapter and Strand have a ManyToMany relationship as you can see in the entity objects. A strand contains multiple chapters but the same chapter may appear in more than one strand. When I change the chapter object, i call setBody(), setName() etc and when I commit() the transaction, everything is persisted to those fields, that part works fine. The problem crops ... |
5. Multiple table map -> migration from Toplink to Hibernate forum.hibernate.orgIt seem like that would be a many-to-many relationship. Is code the primary key of another table? If it is I would map to these relationships via the code entity. It that is not the case, my guess is that a Map with many-to-many may return what you want. You would end up with something like a map element containing a ... |