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]

Re: InstantDB: Binary upload troubles


Paul

I don't fully understand the problem.

I've attached a trivial little program that uses setBytes() to add some
binary data and then does a query. Maybe you could modify it to illustrate
the problem.

Regards

Peter Hearty
Lutris Technologies UK Ltd.
-----Original Message-----
From: Paul Libbrecht <paul@math.uqam.ca>
To: instantdb@enhydra.org <instantdb@enhydra.org>
Date: 11 May 2000 11:26
Subject: InstantDB: Binary upload troubles


>
>Hi all,
>
>
>I'm having troubles with binaries uploading:
>
>I'm using a prepared statement, very simple "INSERT INTO binTest VALUES
(myFileName, ?)"
>and then invoke the preparedStatement's setBytes then executeUpdate()...
>
>But looks like InstantDB makes a simple substitution of the argument into
the query and
>ends up no understanding "}" (a character that could only be within the
file)...
>
>Any hint would be appreciated. Should I always encode that in some things
like number-sequence
>or a file ?? This would be too bad...
>
>Paul
>---------------------------------------------------------------------------
--
>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.

simple.java