How To Check If A Record Exists Using Jpa