Hi,

is there a possibility to get following to run with iBATIS?

SELECT * FROM table WHERE
        REGEXP_LIKE (id, '^(#id#)\-[0]{4}[0-9][0-9][A-Z][0-9]{2}[A-Z]$')

(remark: this is not working)

or would I need to prepare the regexp in the java-part and use it like:

SELECT * FROM table WHERE
        REGEXP_LIKE (id, #id#)

(remark: this is working)

Or in other words: can i get iBATIS to only get part of the regex passed
and add it to the rest of an existing expression or would I need to
build the complete expression in Java and pass it as a regular
(string-)parameter to iBATIS-Layer?

Thanks, cheers

Heinrich

Reply via email to