I've got some problems dealing with the Criteria class.
I have to construct a Criteria to get a query like :
select * from document where keywords like '%document%' and keywords not
like  '%first%' or keywords like '%apache%'

How can I add the "like" in the where clauses of the criteria ?
How can I add the OR in the where clause of the criteria ?

Any idea ?

Regards,

Herv�



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to