Example: Use JPA Query to find data and insert record in JPA @Pre* callback.