Report question

Question: How to check if a record exists using JPA