Make your own free website on Tripod.com

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: Escaping quotes


We have just started piloting a gui app with idb and have a few concerns:

1/ Integrity
.  Is there a projected release date?

2/ String escaping
create table test(test varchar(50));
select testcol from test;
returns the string testcol: I think it should break

PreparedStatement st = con.PrepareStatement("insert into test(?)");
st.setString(1, "Hello")
	works but the SQL is not quoted
st.setString(1, "Hello, you")
	works and the SQL is quoted
st.setString(1, "It's a nice day")
	breaks, as do all statements with '

Should the jdbc setString not escape the single quotes correctly?

Other than this it seems nice and fast and easy to use, and I hope we can
work around the problem

Alistair

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