I have tried it and it won't proceed to this part of code. It's annotated with "required=true" so it never gets here without any targetEntity.