If you want to use any relations included by annotated members, currently an additional fetch is needed as the original saved entity typically has no proxies for relations or refs.
This is also a very typical behaviour of other spring data implementations. Not sure if this is a bug or an enhancement.
The code involved are the default implementations in SimpleArangoRepository which currently does an explicit return of the original entity instead of returning the REPSERT result in save() and saveAll().
If you want to use any relations included by annotated members, currently an additional fetch is needed as the original saved entity typically has no proxies for relations or refs.
This is also a very typical behaviour of other spring data implementations. Not sure if this is a bug or an enhancement.
The code involved are the default implementations in
SimpleArangoRepository
which currently does an explicit return of the original entity instead of returning theREPSERT
result insave()
andsaveAll()
.