Hi Nigel,
On Dec 8, 2009, at 4:14 AM, Nigel Smith wrote:
Hello,
I really like the idea of database lists as it gives me the ability to
relate pages (objects) together without much effort.
However, I have found it very difficult to use these lists easily as
it
requires an understanding of not only HQL (which isn't hard) and of
the
Hibernate-mapped schema, which to my knowledge is not available. Is
this
hibernate-mapped API / Schema (java objects) published somewhere?
The mapping is avail here:
http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-core/src/main/…
It has also occurred to me that an even easier option
would be to use
XWQL in the DatabaseList query specification. Is this possible
somehow?
I don't think it's possible today. You could modify the DatabaseList
implementation so that it uses XWQL though (especially since the Query
Manager will work with both HQL and XWQL). That would be a nice patch ;)
Thanks
-Vincent