HI Olivier,

I use Sesame 2.3.2, plus the SesameProvider on top of Virtuoso.
I access my data in Java through Elmo beans.


Unfortunately, it seems that this mix is not right as soon as my Elmo
beans contain a Boolean field.
Virtuoso stores booleans as 0 or 1 internally.
Elmo retrieves them from the repository as ... 0 or 1 (i.e as integers).
And throws a ClassCastException:
"java.lang.ClassCastException: 0 cannot be cast to java.lang.Boolean"

Is there a trick in Elmo or in the SesameProvider to circumvent this problem?

Can you tell me which version of Virtuoso Open Source server and corresponding Sesame Provider you are using?

Best regards,

Patrick

Reply via email to