Upayavira wrote: ...
Anyway, I've done some more research, including downloading the source for Avalon (for the first time!) and stepped through the code for the Store.
I don't know if this is a problem, but in AbstractJispFilesystemStore, the get and store methods don't seem to match up:
get(): value = m_Database.read(this.wrapKeyObject(key), m_Index);
and
store(): KeyObject[] keyArray = new KeyObject[1]; keyArray[0] = this.wrapKeyObject(key); m_Database.write(keyArray, (Serializable) value);
So one uses a wrapped key object, and the other uses an array of wrapped key objects with one element. Does this mean it's not using the same key, and thus can never get at stuff in the persistent store? Is this correct?
That's Ok. http://www.coyotegulch.com/docs/jisp/com/coyotegulch/jisp/IndexedObjectDatabase.html
[I've still to work out how to compile Avalon, so I can't try it myself yet!]
To compile avalon you need maven... Or you can simply put avalon framework jar in the place where it should be and simply run "ant" in avalon-excalibur/store directory.
Vadim
