Thxs => useful links bookmarked :-)
Anyway, how do you found default alias of table name then?
By example the alias "act" in my hql string here "act.eventId" (I
found it by chance in error log)
#set($results= $xwiki.activitystream.searchEvents("act.eventId in ($ListIn)",
false, 0, 0))
Here i suppose?
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
--------------------------------------------
En date de : Mer 20.1.16, Eduard Moraru <enygma2002(a)gmail.com> a écrit :
Objet: Re: [xwiki-users] Fw : Fw : Re: Fw : Re: Fw : Re: How can I get event object
through a form
À: "Pascal BASTIEN" <pbasnews-xwiki(a)yahoo.fr>fr>, "XWiki Users"
<users(a)xwiki.org>
Date: Mercredi 20 janvier 2016, 16h36
Hi,
This is the activitystream hibernate
mapping where you can see the exact property names:
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
...and this is the
regular XWiki model mapping (corresponding to the other
tables observed in
http://platform.xwiki.org/xwiki/bin/view/DevGuide/DatabaseSchema
)
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
Remember that, when
writing HQL, you need to look at the hibernate mapping, not
just the SQL database schema (which is useful, but can be
misleading).
Thanks,
Eduard