Created
June 10, 2014 22:58
-
-
Save szmeku/5305e73a820bbc7372ae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
@ManyToMany(cascade = {CascadeType.ALL}, fetch = FetchType.LAZY) | |
@JoinTable(name="TestAndTestAspect", | |
joinColumns={@JoinColumn(name="testId")}, | |
inverseJoinColumns={@JoinColumn(name="testAspectId")}) | |
private Set<TestAspectEntity> testAspects = new HashSet<TestAspectEntity>(); | |
public Set<TestAspectEntity> getTestAspects() { | |
return testAspects; | |
} | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment