问题 I would like to have a queriable collection in my entity that does not persist. In other words, a transient ManytoMany relationship. I have tried: @Transient @ManyToMany(fetch = FetchType.EAGER) @JoinTable(name="QuestionSetClass_Link", schema = "SVY", joinColumns={@JoinColumn(name="QuestionSetID", referencedColumnName="QuestionSetID")}, inverseJoinColumns={@JoinColumn(name="QuestionSetClassID", referencedColumnName="ID")}) private Collection<QuestionSetClass> questionSetClasses; public