db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Braeuchi <jbraeu...@gmx.ch>
Subject Re: Escape changes?
Date Fri, 25 Jun 2004 13:16:02 GMT
hi robert,

i modified the platform for postgresql so it does not use the ESCAPE clause if 
the escape-character is '\' . please verify.

i implemented the platform-dependen escaping long time ago, and i simply forgot 
it. i think i'm getting old ;)

jakob

Robert S. Sfeir wrote:
> 
> 
> On 6/22/04 2:05 AM, "Jakob Braeuchi" <jbraeuchi@gmx.ch> wrote:
> 
> 
>>hi robert,
>>
>>i'm not sure whether we should change the escape character in LikeCriteria,
>>i think '\' is widely accepted. imo the best would be to decide per platform
>>whether to include the ESCAPE clause in the sql if it matches the default of
>>the dbms or to double-escape it.
>>
>>but for 1.0 i prefer to adapt the failing testcase in class QueryTest and to
>>use another character there. there is already another testcase using '|' as
>>escape.
> 
> 
> I agree to make the test case pass, we should document it however so users
> know what the issue might be.
> 
> R
> 
> 
>>jakob
>>
>>
>>>Can't remember who was looking at that.  Are the ESCAPE char changes made,
>>>or not yet.  Since someone else has their hands in it, I'll wait and will
>>>be
>>>glad to test again when you have it.  Right now with latest CVS error
>>>still
>>>happens.
>>>
>>>R
>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
>>>For additional commands, e-mail: ojb-dev-help@db.apache.org
>>>
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message