Artem Melentyev wrote:
> ...
>> What about custom mapping. Are you detecting this to write the HQL query 
>> differently ?
> 
> Not yet. But it is easy to add too:
>   if there is a custom mapping then replace "BaseObject" to 
> <XWiki.ClassName> and don't expand its properties. Correct?

Ok. Found. It is slightly more complicated:
I need to join BaseObject.id=<XWiki.ClassName>.id
and use <XWiki.ClassName> for access to object properties.

> Thanks to point on this.  Doing it now.
> 
> Is it ok to include this in 1.6RC1?
> 


-- 
   Artem Melentyev
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to