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