Hi folks, I have a SDB-backed web application. So far it worked as follows: 1) created a SDB backed model 2) performed model reads and writes (using various methods including model.add(Statement), Resource.addProperty, etc). 3) the SDB model is closed
This worked *most of the time*, but sometimes the results were lost during save which pointed me to SDB wiki that says, that whenever using 'model.add', the batch has to be demarked by Model.notifyEvent(GraphEvents.startRead); ... WRITE ... Model.notifyEvent(GraphEvents.finishRead); I also came across another option for demarkation: store.getLoader().startBulkUpdate(); ... WRITE ... store.getLoader().finishBulkUpdate(); Could you please help me make clear 1) Which Model/Resource add/addProperty/addLabel/etc. operations need batch demarkation and 2) Which of the demarkation mechanism is preferred. Thanks ! Cheers, Petr -- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302).
