Hi,

I am confused as to why caster is substituting my backslashes for double
quotes. Below is my sql I am building for the oql and what caste is logging
as the sql.

SQL:   "testerA\"A"
Caster:  'testerA""A'

is there any way to do a caster select on a field with a double quote???

Thanks,
-Jon Borgman

SQL:

SELECT t FROM com.thomson.trainer.model.table.UserProfile t WHERE t.userName
= "testera" AND t.password = "testerA\"A"

Caster logging:

D: 28 15:35:33.179: CastorLogAdapter.flush: SELECT
"SYN_USER_PROFILE"."USER_PROFILE_ID","SYN_USER_PROFILE"."USERNAME","SYN_USER
_PROFILE"."PASSWORD","SYN_USER_PROFILE"."USER_TYPE_ID","SYN_USER_PROFILE"."D
ELETED_DATE" FROM "SYN_USER_PROFILE" WHERE ("SYN_USER_PROFILE"."USERNAME" =
'testera' AND "SYN_USER_PROFILE"."PASSWORD" = 'testerA""A')
D: 28 15:35:33.179: CastorLogAdapter.flush:

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to