Functional style java helpers for jpa and guava