Created
September 28, 2015 02:15
-
-
Save cosbor11/f71bd8a79377dd303ab8 to your computer and use it in GitHub Desktop.
onyx findById deleted entity
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Person deletedPerson = (Person) manager.findById(Person.class, savedPerson.getId()); | |
| if(deletedPerson == null){ | |
| System.out.println("Entity was deleted sucessfully"); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment