Home » Search

About ManyToMany

21-30 of 46Refresh
JPA Doc
5

javax.persistence.OrderColumn

ManyToMany relationship or on an element collection. The OrderColumn annotation is specified
JPA Doc
5

JoinColumn.name

is for a ManyToMany mapping or for a OneToOne or bidirectional ManyToOne/OneToMany mapping using a join table
JPA Doc
5

JoinColumn.table

of the target entity. If the join is for a ManyToMany mapping or for a OneToOne or bidirectional
JPA Doc
5

MapKeyColumn.name

is for a ManyToMany entity relationship or for a OneToMany entity relationship using a join table, the map key
JPA Doc
5

MapKeyColumn.table

Annotation Element javax.persistence.MapKeyColumn String table (Optional) The name of the table that contains the column. Defaults: If the map key is for an element collection, the name of the collection table for the map value. If the map key is for a OneToMany or ManyToMany entity relationship
JPA Doc
5

MapKeyJoinColumn.name

for the map value. If the join is for a map key for a ManyToMany entity relationship or for a OneToMany
Forum
4

Error 363 - Failed to read value of inverse relationship

playerStatus = PlayerStatus.NORMAL; @ManyToMany private List friendList = new ArrayList ... >(), blockedUserList = new ArrayList(); @ManyToMany(mappedBy = "friendWishList") private List possibleFriends; @ManyToMany(mappedBy = "blockedUserList") private
Forum
4

Left join fetch behaviour doesn't retrieve children?

.persistence.EntityManagerFactory; import javax.persistence.Id; import javax.persistence.ManyToMany ... ));         }                 @ManyToMany(targetEntity = MyEntityChild.class, cascade = CascadeType ... ));   }   @ManyToMany(targetEntity = MyEntityChild.class)   public List
Forum
3

Cascading persistence through an inverse field

Hi! I was playing with cascading persistence with @ManyToMany and inverse @ManyToMany fields, and I ... -related code to keep it simple. @Entity public class PointCollection { @ManyToMany(cascade ... { @ManyToMany(mappedBy="points", cascade={PERSIST, REFRESH, MERGE}) private Set
Forum
3

Find the error...JPA ENTITY HIBERNATE

javax.persistence.ManyToMany; import javax.persistence.ManyToOne; import javax.persistence.Table ... = "email") private String email; @ManyToMany @JoinTable(name="chat", joinColumns={@JoinColumn(name ... javax.persistence.JoinTable; import javax.persistence.ManyToMany; import javax.persistence.Table