Hi,
I've problems with Blob. For example if I have the following mapping for my
class Product:
<class name="myapp.Product" identity="id" key-generator="MAX">
<description>Product definition</description>
<cache-type type="none"/>
<map-to table="prod" />
<field name="id" type="integer">
<sql name="id" type="integer" />
</field>
<field name="group" type="serializable">
<sql name="group" type="blob" dirty="ignore" />
</field>
</class>
my class Product has an attribute ProductGroup group (ProductGroup is
serializable).
and the table: CREATE TABLE PROD(ID INTEGER NOT NULL,GROUP BLOB)
when I try to create a new Product, it works but I can't load this product
later, I've a ClassCastException.
What am I doing wrong? Can I do something like this with castor?
Thanks, cedric.
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev