[java] Select top 1 result using JPA