Created
January 22, 2016 04:28
-
-
Save cosbor11/d69ca8566a3b8508a628 to your computer and use it in GitHub Desktop.
Hydrate Harrison Ford Actor
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
| harrisonFordActor = persistenceManager.find(harrisonFordActor); | |
| persistenceManager.initialize(harrisonFordActor, "movies"); | |
| System.out.println("Harrison Ford has been in " | |
| + harrisonFordActor.getMovies().size() | |
| + " movies including " | |
| + harrisonFordActor.getMovies().get(0).getTitle() | |
| + " and " | |
| + harrisonFordActor.getMovies().get(1).getTitle() | |
| + "!"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment