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]

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.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.