Hi, devs.
status update:
Artem Melentyev wrote:
I'll try to implement
"from doc.object(Class)" (seems easy) and
"where doc.object(Class).property=something" (seems harder)
xwql syntax before release, and commit it in xwiki-query/xwql
done
Also I need one QueryManager refactoring for easy to
add new languages
via QueryExecuter components.
done
After release I plan to improve xwql (javadocs,
tests)
and research in JCRStore topic: jcrom, DAO & value objects.
In progress. to do for next week.
also todo:
Implement RamDAOs (store value objects just in hashmap) and DefaultStore
and test it.
Some thoughts about JCRStore:
components:
RepositoryProvider
provides jcr.Repository and do shutdown.
implementations: JackrabbitStandalone, ExoStandalone, JNDI, RMI,
Webdav, etc. For beginning will be Jackrabbit and Exo standalones.
SessionFactory
getSession(workspace)
createWorkspace(workspace)
createWorkspace is implementation specific. not standardized.
JcrDAOs (maybe extends jcrom.AbstractDAO)
inject sessionFactory
uses jcrom for mapping value objects
There will be no pooling now, since pooling should be in JCR
implementation (According Jackrabbit recommendations). However we can
add it later in SessionFactory easily if needed.
--
Artem Melentyev