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: newbie Q: storing arbitrary objects


Well, the binary type seems definitely appropriate.

But for binary to work you need a preparedStatement instead of a mere 
statement. This kind allows you to set the values of some columns 
(some "arguments" to the prepared statement) as streams or as 
byte-arrays...

You then stream your objectOutputstream through this stream ?

I think there is an example of binary upload in the example 
distribution, otherwise just ask.

Paul


>hi,
>
>the online doc gives me willies:
>Is it possible to store arbitrary java objects
>as easy as sql types?
>If not, what alternatives?
>
>thanks in advance,
>Jens Woch
-----------------------------------------------------------------------------
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.