Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Texo] Retrieve children
[Texo] Retrieve children [message #1020923] Tue, 19 March 2013 03:34 Go to next message
Bastian Wagenfeld is currently offline Bastian Wagenfeld
Messages: 162
Registered: January 2013
Senior Member
Hi,

this could be a simple question, but obviously I don't have a solution, yet. How can I set child levels for a query on a JSONTexoResource or on the resource itself?

Best regards
Bastian
Re: [Texo] Retrieve children [message #1020983 is a reply to message #1020923] Tue, 19 March 2013 05:50 Go to previous messageGo to next message
Martin Taal is currently offline Martin Taal
Messages: 5329
Registered: July 2009
Senior Member
Hi Bastian,
Yes this could be made easier to configure. Can you try adding the 'childLevels' parameter to the url of the internal
eobjectstore? (I think you override already things to authentication, right?)
I can make this configurable through the resource or eobjectstore directly. Can you enter a bugzilla for that?

gr. Martin

On 03/19/2013 08:34 AM, Bastian Wagenfeld wrote:
> Hi,
>
> this could be a simple question, but obviously I don't have a solution, yet. How can I set child levels for a query on a
> JSONTexoResource or on the resource itself?
>
> Best regards
> Bastian


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Re: [Texo] Retrieve children [message #1020992 is a reply to message #1020983] Tue, 19 March 2013 06:11 Go to previous messageGo to next message
Bastian Wagenfeld is currently offline Bastian Wagenfeld
Messages: 162
Registered: January 2013
Senior Member
Hi Martin,

that's right, we already override it, so we can set it in the URL. It isn't a very important feature for us, although it would be nice to have in a future version.
Created the bug here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=403743

Best regards
Bastian
Re: [Texo] Retrieve children [message #1022352 is a reply to message #1020992] Thu, 21 March 2013 14:15 Go to previous message
Bastian Wagenfeld is currently offline Bastian Wagenfeld
Messages: 162
Registered: January 2013
Senior Member
Hi Martin,

this probably might be a different topic, but is somehow related to this one. I recognized that proxies in a JSONTexoResource are only resolved, if the containing Resource is created by a ResourceSet. Unfortunately I'm not experienced in using ResourceSets. My approach would be to extend the ResourceSetImpl and override the createResource method and maybe also the ResourceSetFactory. But honestly that is all I know so far. So I want to ask you, if you could provide some information about how to use a JSONTexoResource within a ResourceSet, or are there even some example implementations?

When I saw, I'm using the JSONTexoResource not as you intended it, I thought the behaviour mentioned here: http://www.eclipse.org/forums/index.php/mv/msg/457509/1015006/ might be just not as I expected it, because I'm using it without a ResourceSet.

Best regards
Bastian
Previous Topic:[teneo] Problem with double index on column
Next Topic:[teneo] How to specify formula with oracle || concat
Goto Forum:
  


Current Time: Tue Sep 02 03:01:38 EDT 2014

Powered by FUDForum. Page generated in 0.02037 seconds