From: Arjohn K. <arj...@ad...> - 2006-11-08 16:09:28
|
Christiaan Fluit wrote: > Antoni Mylka wrote: >> I began to introduce the calls to model.close to the tests. It turns out >> that the sequence of invocations that is used most often is: >> >> dataObject.getMetadata().getModel().close(); >> dataObject.dispose(); >> >> Just a design consideration. It has been made necessary by the new >> sesameConnection concept. Do we consider this acceptable or do we try >> to work around it? > > Not just because of the sesameConnection, in Sesame 2 alpha 3 the > MemoryStore also printed a warning when you didn't close it (which I > find awkward for an in-memory representation, but ok). Note that memory stores are not necessarily volatile, they can use data files for persistence. |