And another thing:

Do not try to use Village with JAVA_OBJECT.  It will attempt to convert
the data to a String as it does not recognize the type.

John McNally wrote:
> 
> The JAVA_OBJECT type represents a JDBC type.  It needs to be mapped to a
> specific database type to be useful.  For MySql I would suggest a type
> like MEDIUMBLOB though it currently is not mapped in the torque
> db.props.  Though VARBINARY does map to MEDIUMBLOB, so you could just
> use that.  You will have to handle the conversion from/to serialized
> object.
> 
> john mcnally
> 
> Mahfudh Junaryanto wrote:
> >
> > Hello,
> >
> > I would like to know what is the use of JAVA_OBJECT type in Torque
> > (see database.dtd).
> > Is it for storing binary Java Object into database ? If that so,
> > could anybody tell me how to use it properly ? I have tried many
> > times but the outcome not what I expected ...
> >
> > Thanks
> >
> > ______________________________________________________________
> > For the latest news, go to http://www.asiaone.com
> > And get your free AsiaOne email account and home page
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to