addLike questions
reda benzair <[email protected]>
| Newsgroups | gmane.comp.jakarta.ojb.user |
|---|---|
| Message-ID | <[email protected]> |
Hello everyone,
I have a problem with "like".
my DataBase =Oracle
Ojb= 1.0.3
I would like search on my table all file name start with number and i
use *SQL LIKE* it works, but when I used the
*AddLike("filename",'[0-9]%')* or *crit.addSql("AO.MDL_FILENAME LIKE
'[0-9]%')*; do not work.
What is exactly problem ? escape the text ? not work on ojb ?
Anyone can give me any suggestion to solve this problem.
Regards,
Reda