we are currently working on integration of JOPA (https://sourceforge.net/projects/jopa/) with your excellent OWLDB solution. Currently we are experiencing a problem with OWLDBOntology.applyChanges() - this method immediately saves the changes into the database (i.e. not only to the in-memory OWLAPI model). This seems both inefficient and incorrect w.r.t to the original rationale behind this method in OWLAPI - e.g. OWLOntologyImpl.applyChanges saves changes only to the memory and these changes are propagated to the physical location (File) on OWLOntologyManager.saveOntology().
As we are developing transactional support for JOPA, this behaviour is rather problematic for us - JOPA transactions could hardly be ACID.
Could you help us, how to split change propagation into two phases using OWLDB:
1) save changes to memory (OWLAPI model)
2) propagate changes from memory to the database
Thank you in advance for your help.
Cheers,
Petr Kremen and Martin Ledvinka
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear all,
we are currently working on integration of JOPA (https://sourceforge.net/projects/jopa/) with your excellent OWLDB solution. Currently we are experiencing a problem with OWLDBOntology.applyChanges() - this method immediately saves the changes into the database (i.e. not only to the in-memory OWLAPI model). This seems both inefficient and incorrect w.r.t to the original rationale behind this method in OWLAPI - e.g. OWLOntologyImpl.applyChanges saves changes only to the memory and these changes are propagated to the physical location (File) on OWLOntologyManager.saveOntology().
As we are developing transactional support for JOPA, this behaviour is rather problematic for us - JOPA transactions could hardly be ACID.
Could you help us, how to split change propagation into two phases using OWLDB:
1) save changes to memory (OWLAPI model)
2) propagate changes from memory to the database
Thank you in advance for your help.
Cheers,
Petr Kremen and Martin Ledvinka