Roni
> I saw in the mailing list an example of how to work with Java objects -
>
http://instantdb.enhydra.org/community/mailingLists/instantdb/msg00620.html
>
> I tried to run the attached program: simple.java, and I got the same
failure:
> java.lang.ClassCastException: [B
> at simple.main(simple.java:33)
Sorry, but I'm at a loss to explain why simple.java should be generating a
ClassCastException. I've tried with JDK 1.3 as well and it seemed OK. All
InstantDB does is serialize the object to a byte array and then save that to
disk. It then does the reverse to retrieve it.
Any serialization experts out there who could hazard a guess at the possible
source of the problem? Anyone seen anything similar?
> Another question: Is the function getObject(int i, Map map) is supported
?
> If not, is it in the road map of InstantDB ?
Sorry - not at the moment.
Regards
Pete
--
Peter Hearty peter.hearty@lutris.com
Lutris Technologies (UK) http://www.lutris.com
----- Original Message -----
From: <Roni_Nehamia@amat.com>
To: <instantdb@enhydra.org>
Sent: Tuesday, September 19, 2000 12:32 PM
Subject: InstantDB: Problems with the getObject() method
>
> Hello,
>
> I failed to retrieve a stored serialized Java object using the getObject()
> method.
> I saw in the mailing list an example of how to work with Java objects -
>
http://instantdb.enhydra.org/community/mailingLists/instantdb/msg00620.html
>
> I tried to run the attached program: simple.java, and I got the same
failure:
> java.lang.ClassCastException: [B
> at simple.main(simple.java:33)
>
> What could be the problem ?
> I am working with JDK 1.3, InstantDB 3.20 Beta 1.
>
> Another question: Is the function getObject(int i, Map map) is supported
?
> If not, is it in the road map of InstantDB ?
>
> Thank you in advance,
> Roni.
>
>
>
>
> --------------------------------------------------------------------------
---
> 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.
>
-----------------------------------------------------------------------------
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.
|