jpa query added onbeforeexecute.