Re: [xwiki-users] XWQL in DatabaseLists
Hi Eugen, On Aug 26, 2010, at 12:09 AM, Colesnicov Eugen wrote: When I create my own class with propertie with have type=DatabaseList - often, I cannot use simpe XWiki Class Name - I need to specify HibernateQuery. Unfortunately, I cannot use XWQL, only HQL I tried to put my XWQL query in a field of HibernateQuery - but no result (XWQL query was tested and is ok). For the developers - Are you planning to implement XWQL in a DatabaseLists? Yes. It will be great, because XWQL is more simple, shortly and naturally supporting XWiki data model! Indeed. Or, maybe right now exists some possibilities to use XWQL in a DatabaseLists? Could you create a jira issue for it? (not sure if there's one already). A patch would be great too ;) Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWQL in DatabaseLists
I checked jira. Issue about possibility to use XWQL in database lists alreasy exists: http://jira.xwiki.org/jira/browse/XWIKI-2870 Thanks Vincent for the good job and hope. PS. Also I am waiting a few releases for the office docs preview. Everytime this feature was in a roadmaps and everytime it wasn't released. I also hope, that office preview will be included in in 2.5 release. It will be great! -- Best regards Eugen Colesnicov -- View this message in context: http://xwiki.475771.n2.nabble.com/XWQL-in-DatabaseLists-tp5463335p5488387.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] XWQL in DatabaseLists
When I create my own class with propertie with have type=DatabaseList - often, I cannot use simpe XWiki Class Name - I need to specify HibernateQuery. Unfortunately, I cannot use XWQL, only HQL I tried to put my XWQL query in a field of HibernateQuery - but no result (XWQL query was tested and is ok). For the developers - Are you planning to implement XWQL in a DatabaseLists? It will be great, because XWQL is more simple, shortly and naturally supporting XWiki data model! Or, maybe right now exists some possibilities to use XWQL in a DatabaseLists? -- Thanks beforehand! Eugen Colesnicov -- View this message in context: http://xwiki.475771.n2.nabble.com/XWQL-in-DatabaseLists-tp5463335p5463335.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWQL in DatabaseLists
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/resources/xwiki.hbm.xml 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] XWQL in DatabaseLists
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? 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? Regards, Nigel Running XE 1.9.3 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users