No.  The order of operand evaluation is determined by the query processor.

Linda


>X-Accept-Language: en
>MIME-Version: 1.0
>Content-Transfer-Encoding: 7bit
>Date: Fri, 25 May 2001 08:46:08 -0500
>From: Richard Monson-Haefel <[EMAIL PROTECTED]>
>Subject: EJB 2.0: Logical Operators AND and OR
>To: [EMAIL PROTECTED]
>
>Can we assume that the logical operators AND and OR in EJB QL are
>similar to && and || in that the right hand operand is evaluated
>conditionally?  For example, AND evaluates its right-hand operand only
>if
>the value of its left-hand operand is true. Also OR evaluates its
>right-hand operand only if the value of its left-hand operand is false.
>
>Thanks,
>
>Richard
>--
>Richard Monson-Haefel
>Author of Enterprise JavaBeans, 2nd Edition  (O'Reilly 2000)
>Co-Author of Java Message Service (O'Reilly 2000)
>http://www.jMiddleware.com
>
>===========================================================================
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff EJB-INTEREST".  For general help, send email to
>[EMAIL PROTECTED] and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to