On 11/03/13 11:29, Alex Shapiro wrote:
Thank you Marco and Andy! I perfectly understand that changes made in
one JVM will not update the model in second JVM and that this is in
general a bad idea :-). We are working on changing the architecture
of our application. Meanwhile, let's say I know when the update is
done in one JVM and can notify second JVM about the change - will it
help to close the model in second JVM and reopen it or reset the
model somehow to get the changes made in first JVM?

Alex

"bad idea" is an understatement!

This might work:

Close the dataset and force it out of the dataset cache. TDBMaker.releaseDataset

But it's probably better to uncached datasets in the first place:

TDBMake.setImplFactory(TDBMaker.uncachedFactory)

No guarantees whatsoever.

        Andy

Reply via email to