java - Query which changes database in Spring Data Neo4j (4.1.2) -


i created @query in repository class (extends graphrepository), updates nodes/relationships (it simplier , faster way instead of operating java objects). cannot see result, session not updated. there solution let query update session (eg. annotation)?

if change creates/deletes relationships should visible when query affected objects again.

if change updates properties might not visible cached instance may returned.

use session.clear() clear session , load affected objects again.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -