Two way relation not appearing, after DQL insert

If it is in the same transaction you can simply use the Blank Node. If it is a new transaction, you have to query for the target and then use it in a variable.