Rereading your message, I almost repeated what you said, only placed
it in control panel :-)
So yeah, either way would work... And user-friendly collection
navigator should help here as well.
Andrus
On Jul 24, 2006, at 4:35 PM, Andrus Adamchik wrote:
At the moment I think the best (read 'only practical') way to do
it is via a wizard. The user selects a NamedQuery from the map,
sets key/value parameters, and picks from the results.
How about expanding the control panel capabilities? Current control
panel opens a new "Object Editor" window on every query run. We can
do two things:
* (optionally) open the results in the same Object Editor.
* support entering query parameters when running the query (judging
by your earlier questions, you were looking at parameterized
queries already). This way users can pinpoint the right object.
One catch with the last point is that supported parameter names are
not available via the metadata. So the user will have to specify
values and *keys*. In the future we may provide a collection of
valid keys via EntityResolver.