users@glassfish.java.net

Re: how to cancel the whwere clause effect

From: <glassfish_at_javadesktop.org>
Date: Tue, 05 Jun 2007 06:50:41 PDT

Hi,

yes, the LIKE operator can only be used for String fields. I am not aware of any solution that would cover compound objects. Unless you go with dynamic queries and generate the WHERE clause only if there is something to be compared with.

Why do you want to combine the LIKE operator with the = operator? The LIKE operator would replace the = operator in your query.

Regards Michael
[Message sent by forum member 'mb124283' (mb124283)]

http://forums.java.net/jive/thread.jspa?messageID=220554