Skip to main content



      Home
Home » Modeling » MoDisco » How to specifiy query parameters in the Query Executions view?
How to specifiy query parameters in the Query Executions view? [message #990398] Wed, 12 December 2012 04:58 Go to next message
Eclipse UserFriend
I have a Java Query that takes an EString as Parameter. I would like to specify that parameter in the Query Executions view. However I don't see any action that would do this in that view. Selecting Execute results in a NPE in the Java code of the query, because the parameter is null. Isn't this (yet) possible?
Re: How to specifiy query parameters in the Query Executions view? [message #990439 is a reply to message #990398] Wed, 12 December 2012 08:56 Go to previous messageGo to next message
Eclipse UserFriend
The current version of the UI does not support the handling of queries with parameters.
However, by directly using the MoDisco Query API, you will be able to run such queries (cf. the Query Manager/Developer Documentation section of the MoDisco Reference Documentation for having a concrete example of this).
I hope this helps.

Hugo
Re: How to specifiy query parameters in the Query Executions view? [message #990465 is a reply to message #990439] Wed, 12 December 2012 10:41 Go to previous message
Eclipse UserFriend
Yes. That helped. However I think I'm currently faster with hard coding parameters in the java query implementation.
Previous Topic:How to return multiple results for query on ecore model
Next Topic:Help with KDM transformation
Goto Forum:
  


Current Time: Wed May 14 11:52:15 EDT 2025

Powered by FUDForum. Page generated in 0.03794 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top