Commit c574b2ab by Juho Juopperi

compoentry reference bug

1 parent c72a525f
......@@ -79,7 +79,7 @@ public class CompoEntry implements EventChildInterface {
private List<CompoEntryParticipant> participants;
@JoinColumns( {
@JoinColumn(name = "compo_id", referencedColumnName = "id", nullable = false, updatable = false, insertable = false),
@JoinColumn(name = "compo_id", referencedColumnName = "id", nullable = false),
@JoinColumn(name = "event_id", referencedColumnName = "event_id", nullable = false, updatable = false, insertable = false) })
@ManyToOne(optional = false)
private Compo compo;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!