Hi Dmitry,
This is a misunderstanding.
Only the contribution about:
In the WHERE clause associated to a finder method for an entity with CMP,
the parameters can be followed by a number, that specifies the method
parameter number that will be used by the query in this position.
For example:
Enumeration findByTextAndDateCondition(String text, java.sql.Date date)
WHERE (description like ?1 OR summary like ?1) AND (?2 > date)
The contribution about the:
where {?0 != null}:{description LIKE ?0}:{description IS NULL}
syntax wasn't introduce because it wasn't really ok.
Kind regards.
H�l�ne.
Dmitry Guralnik wrote:
>
> Hi,
>
> I found the messages
> http://www.objectweb.org/messages/JonasDev/0341.html
> http://www.objectweb.org/messages/JonasUsers/2000/08/msg00042.html
> where {?0 != null}:{description LIKE ?0}:{description IS NULL} syntax
> mentioned.
> After that I found the message
> http://www.objectweb.org/messages/JonasUsers/2000/09/msg00025.html
> where mentioned that this syntax had been changed to <if-true> <else>.
>
> But I can't find any information about using <if-true> <else>. Please, give
> me some examples.
>
> Thank you.
>
> Sincerely,
> Dmitry Guralnik
>
--
-=- H�l�ne JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
mailto:[EMAIL PROTECTED] http://www.evidian.com
Phone: 33.4.76.29.73.53 Fax: 33.4.76.29.76.00
Download our EJB Server JOnAS at http://www.objectweb.org
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".