Hi,

Using 1.6.3, I'm trying to create a simple "file" pojo with a list of file 
data chunks as ORecordBytes. Saving the the file information and its chunks 
seem to work fine and from the console it looks correct. But loading the 
chunk back with the java driver cause an exception:

Exception in thread "main" java.lang.ClassCastException: 
com.orientechnologies.orient.core.record.impl.ORecordBytes cannot be cast 
to com.orientechnologies.orient.core.record.impl.ODocument
    at 
com.orientechnologies.orient.object.db.OObjectLazyList.get(OObjectLazyList.java:152)
    at PojoORecordTest.main(PojoORecordTest.java:32)

Code to reproduce

https://gist.github.com/bckfnn/8285497

The database was created with 

create database remote:localhost/logimport root passwd plocal document

regards,
Finn

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to