spring data rest update produce cross join sql error
<p>I want to use spring data rest to update rows of certain user , but at run time this query has strange "cross join" added to the query .</p>

<p>spring data rest method </p>

<pre><code> @Modifying
@Transactional
@Query("Update Notification n SET n.noticed = true Where n.notificationPost.owner.userId = 1 ")
public void postNoticed();
</code></pre>

<p>run time created query </p>

<pre><code>Hibernate: update notification cross join  set noticed=true where owner_id=?
</code></pre>

<p>My only concern is why "cross join" added as it gives sql error  </p>

<pre><code>org.postgresql.util.PSQLException: ERROR: syntax error at or near "cross"
</code></pre>

<p>I call this method directly by rest invoke , and also from mvc controller, both ways produce the same error</p>

<p>Thanks in advance.</p>