Re: activity query
Vladimir Puskas <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <[email protected]> |
Hello Ben
you wrote:
> yes, that works. I noticed that the output from aieb.toExpression() is
>
> /*used name used*/
> name.equals("someName")
> /*sql Name = 'someName' sql*/
>
> What is the /*used and /*sql? Is there documentation for this?
No.
Wf_Iterator specifications allow only String as parameter to
*set_query_expression* method. That's OMG specs.
ExpressionBuilders are addition to the Shark API to
1) make more complicated queries easier
2) prepare queries for execution directly on DB (thus much faster)
Output from *toExpression()* is actually a structure filled into a
String containing valid Bean Shell expression ;-)
Used comment contains a list of properties used in expression, while sql
comment is WHERE clause. Both elements improve the performance of
queries/iterators.
hope this helps
--
Vlada
message.footer
(text/plain, 271 B)
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws