I marshal a Model object and store into a table column(text type), it
always strip the size into 127. so I can not return a marshal object to
model object. how can I make this work?
On Mar 13, 4:20pm, Zhenning G. [email protected] wrote:
I marshal a Model object and store into a table column(text type), it
always strip the size into 127. so I can not return a marshal object to
model object. how can I make this work?
you should probably be using a blob column for marshaled objects - you
don’t want the database doing character set conversions on it or
anything like that
Fred
On Sun, Mar 13, 2011 at 9:20 AM, Zhenning G. [email protected]
wrote:
I marshal a Model object and store into a table column(text type), it
always strip the size into 127. so I can not return a marshal object to
model object. how can I make this work?
the text column is 2GB- you must not be doing it write
show me a ‘describe table’ (or ‘show create table’) for your table.
you probably also don’t want to do this marshall manually.
Look into :serializable
–
make haste slowly
festina lente \
mobile +1_415_632_6001
[email protected] [email protected]
http://robotarmyma.de
body text COLLATE utf8_unicode_ci,