Project

General

Profile

« Previous | Next » 

Revision 45489

View differences:

Publication.java
90 90

  
91 91
	@ManyToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL)
92 92
	@JoinTable(name = "publication_author",  joinColumns = {
93
			@JoinColumn(name = "author", nullable = false, updatable = false)
93
			@JoinColumn(name = "publication", nullable = false, updatable = false)
94 94
			},
95
			inverseJoinColumns = { @JoinColumn(name = "email",
95
			inverseJoinColumns = { @JoinColumn(name = "author",
96 96
					nullable = false, updatable = false) })
97 97
	private List<Author> authors = new ArrayList<>();
98 98

  

Also available in: Unified diff