I've mapped a field in one of my classes's fields to a BLOB colum in 
MySQL, following the example in the JDO types documentation.

     <field name="dataS" type="stream" >
       <sql name="data" type="blob" dirty="ignore"/>
     </field>

I've had no trouble putting data into reocrds from my objects via  a 
getter method in my class, but I can't get data back out of MySQL with a 
setter method. It's not clear to me from the docs what type the argument 
to the set method for the field in my class should be. I tried the 
"natural" type...

public void setDataS(InputStream s)

When called by Castor, s is null.

I'm using castor-0.9.3.19, MySQL 2.23.49, the mm.mysql-2.0.4 JDBC 
driver, and J2SDK 1.4 on Win XP.

Thanks,
David Franzen

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to