On 08/28/14 15:04, Danilo Oliveira wrote:
> Hitchhiking on this thread...
> Are there performance differences between the XWL and HQL?

Depends. XWQL is just a meta-language, which gets translated to HQL, so
the execution time of an XWQL query is the same as the equivalent HQL
query. Two things change this balance:

1. Translating the query takes some time, though compared to the rest of
the process it's negligible

2. Manually written HQL queries could be different than what XWQL
translates to, either in a severely worse way by forgetting to write a
needed join, or in a slightly better way by avoiding useless joins and
where conditions when the author of the query really knows the data model

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to