In the Play getting started docs, they show this controller:
public static void index() {
Post frontPost = Post.find("order by postedAt desc").first();
List<Post> olderPosts = Post.find("order by postedAt desc").from(1).fetch(10);
render(frontPost, olderPosts);
}
Then, in the template the frontPost and olderPosts are used without any special mapping!
<a href="#">${frontPost.title}</a>
How is Play preserving these names?