Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @AllArgsConstructor
- @Getter
- public class Message {
- private final String from;
- private final String to;
- private final long when;
- }
- SELECT from, to, when FROM Message WHERE to = {userId} OR from = {userId}
Add Comment
Please, Sign In to add comment