Skip to content

Instantly share code, notes, and snippets.

@yannbriancon

yannbriancon/Message.java

Last active May 2, 2020
Embed
What would you like to do?
Message class
class Message {
...
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "author_id")
private User author;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.