ObjectDB ObjectDB

Need to close+open database for a commit to be taken into account



I have one case where commit (update of entity in this case) is not taken in account unless database is actually closed and re-open, no error.

I tried to use flush instead of close+re-open but it does not work. So currently there is a dirty close + open + reload on each update of one of these entities, which is far from ideal. The entity involved contains (between other fields) another entity, that's the only particularity i can see. I tried with and without entity relationship defined, no difference.

As making a test case snippet will involve quite a large amount of work (using actual entities) I would like to know if i could try anything else that flush to replace the close+open+reload.



Maybe you should try disabling all sorts of cache in the configuration file, but the information provided is insufficient for suggesting anything further.

ObjectDB Support


To post on this website please sign in.