thanks guys,

I tried using streams directly with jdbc and I got exactly the same error - think I misunderstood what the max-packet error was telling me. So yes, it looks like increasing the max-packet param is the only solution.

Thanks
Nathan

Brice Ruth wrote:
In the meantime, if you have access to the MySQL server (with rights),
changing the max-packet parameter isn't really all that difficult. Its
well documented on mysql.com, in the documentation.


On Mon, 24 Jan 2005 10:33:00 -0700, Clinton Begin <[EMAIL PROTECTED]> wrote:

2.0.9 does support blobs.  But the current implementation does not use
Streams.  Someone has already posted a fix that we'll include in the
next release.

Cheers,
Clinton


On Mon, 24 Jan 2005 16:00:57 +0800, Nathan Coast <[EMAIL PROTECTED]> wrote:

Hi,

Does ibatis support blob types, specifically to stream blobs in / out of
the database?  I notice something about blobs are mentioned for the
2.0.9 release.  Are there any docs examples anywhere?

I'm using mysql and I currently get errors for trying to write large
byte[] data types to the db (exceeding a db configuration - max packet
size).  I'm hoping to avoid having to re-configure the db by using streams.

thanks
Nathan

btw, ibatis is a great tool, thanks for the effort.
--
Nathan Coast
Managing Director
Codeczar Ltd
mob : (852) 9049 5581
tel : (852) 2834 8733
fax : (852) 2834 8755
web : http://www.codeczar.com





-- Nathan Coast Managing Director Codeczar Ltd mob : (852) 9049 5581 tel : (852) 2834 8733 fax : (852) 2834 8755 web : http://www.codeczar.com

Reply via email to