On 3/24/06, THOMAS, BRIAN M (SBCSI) <bt0008(a)att.com> wrote:
As mentioned in an earlier message, I got into the
$xwiki.search() world
yesterday, and am thoroughly confused.
The main problem seems to be that the XWiki database schema and the
schema used in all of the $xwiki.search() queries I have found are
completely disjoint.
Instead of the documented tables and columns, what seems to be used is a
schema which reflects the object model within XWiki. This would really
be convenient if true; is it?
Hi,
Yes, XWiki is using hibernate for the database mapping. So it's not a
sql query, but a hql query. You use the objects and members name to
make the request. (if you don't know the hql, you can take a look to
the hibernate documentation :
http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#queryhql)
Jérémi
--
Blog:
http://www.jeremi.info
LinkedIn:
https://www.linkedin.com/profile?viewProfile=&key=1437724
Project Manager XWiki:
http://www.xwiki.org
skype: jeremi23 -- msn et gtalk : jeremi23(a)gmail.com