Created
December 31, 2014 21:25
-
-
Save tylertreat/abadd3f63a62f28c3973 to your computer and use it in GitHub Desktop.
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
| FooEntity foo = (FooEntity) Enhancer.create( | |
| FooEntity.class, | |
| new LazyLoader() { | |
| public Object loadObject() throws Exception { | |
| return Datastore.load(fooId); | |
| } | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment