You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Insert entity Nested0 with @get:OneToMany related Nested1 entities list
Change Nested0.Nested1.name to some new value
Update root entity Nested0
Expected: with no cascade action specified in @get:OneToMany using default SAVE or with SAVE specified explicitly Requery persists related entity Nested1 and new name is saved. According to docs When a associative element is added it will be persisted (inserted or updated) if required..
Instead: no matter cascade SAVE specified or not new name not persisted. Modified name field state is modified in entity.
Sample Android App, click Requery Activity button on main screen then click action button.
It is very strange! Field is changed OK in memory, ouputs in UI, but not changed in DB.
There is no update query.
Nested0
with@get:OneToMany
relatedNested1
entities listNested0.Nested1.name
to some new valueNested0
Expected: with no cascade action specified in
@get:OneToMany
using defaultSAVE
or withSAVE
specified explicitly Requery persists related entityNested1
and new name is saved. According to docsWhen a associative element is added it will be persisted (inserted or updated) if required.
.Instead: no matter cascade
SAVE
specified or not new name not persisted. Modified name field state ismodified
in entity.Sample Android App, click Requery Activity button on main screen then click action button.
It is very strange! Field is changed OK in memory, ouputs in UI, but not changed in DB.
There is no update query.
The text was updated successfully, but these errors were encountered: