Last active
July 12, 2018 23:01
-
-
Save mohamed-gara/4f9d82b5fc2e934377ee6ca21705337d to your computer and use it in GitHub Desktop.
Simple Person entity with a comment attribute
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 | |
@Data | |
public class Person extends core.Person { | |
@Basic(fetch = LAZY) | |
@Lob | |
private String comment; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment