Created
March 18, 2018 20:21
-
-
Save bogdanalbei/b21ce76b7e688594e6680248817d2074 to your computer and use it in GitHub Desktop.
Lazy loading
This file contains hidden or 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
| public class User { | |
| private long id; | |
| private String name; | |
| private List<Wallet> wallets; | |
| } |
This file contains hidden or 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
| public class Wallet { | |
| private long id; | |
| private String address; | |
| private long userId; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment