Hi Luca,

Can you provide us source code to reproduce this?

Ivan Shcheklein,
Sedna Team


Hello
>
> Thank you for the advice, I've run into another problem now.
>
> I use Sedna to store custom java Objects (implementing the Serializable
> interface, of course). The problem is that I can't get them back using the
> getResource method.
>
> So i create my object, I store it in a collection using
> collection.createResource(myId, BinaryResource.RESOURCE_TYPE)
>
> If later I want to get the object using collection.getResource(myId), I get
> a casting error.
> "java.lang.ClassCastException: net.cfoster.sedna.xmldb.l cannot be cast to
> sednatest.Host"
> sednatest.Host being my custom class.
>
> Any thoughts?
>
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to