LOG.debug("Document metadata stored to " + StorageAddress.toString(doc.getAddress()));
	public void storeDocument(final DocumentImpl doc) {		final byte data[] = doc.serialize();		new DOMTransaction(this, domDb, Lock.WRITE_LOCK) {			public Object start() throws ReadOnlyException {				if (doc.getAddress() > -1) {					domDb.remove(doc.getAddress());				}				doc.setAddress(domDb.add(data));//				LOG.debug("Document metadata stored to " + StorageAddress.toString(doc.getAddress()));				return null;			}		}		.run();	}