Created
October 21, 2014 19:59
-
-
Save altfatterz/ccb9ef094e3b777263b2 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
@Entity | |
public class Portal extends AbstractPersistable<Long> { | |
private String name; | |
@OneToMany(mappedBy = "portal", cascade = CascadeType.ALL) | |
private List<Page> pages; | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment