InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InstantDB: Does Statement.setEscapeProcessing(false) work?


Keith

I can't reproduce this. Is there any more information you could give 
me. For example, how do you know it gets stored as "c:\projects" if you 
are unable to read it?

Pete

----- Original Message -----
From: Keith Moore <kmoore@zephyrus.com>
Date: Monday, January 22, 2001 7:52 pm
Subject: InstantDB: Does Statement.setEscapeProcessing(false) work?

> I cannot seem to get this to work. We are storing filenames in the 
> database. If the query string is:
> "Insert into test (s1) values ("c:\\\\projects"), then the 
> compiler 
> converts the string to "c:\\projects" and then it gets stored in 
> the 
> database as "c:\projects".
> 
> When I try to read it from the database, I get an error that \p is 
> an 
> illegal escape character.
> 
> BTW, using prepared statement with prepareIgnoresEscape=1 seems to 
> work, 
> but our code cannot use prepared statements without a complete 
> rewrite.
> Thanks for your help.
> Keith 
> 
> -------------------------------------------------------------------
> ----------
> To unsubscribe from this mailing list, send email to 
> majordomo@enhydra.orgwith the text "unsubscribe instantdb" in the 
> body of the email.
> If you have other questions regarding this mailing list, send 
> email to
> the list admin at owner-instantdb@enhydra.org.
> 

-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.