I'm currently doing that--serializing a java object into a database as a BLOB. And it works for standard inserts and updates. The embedded driver squawks when doing executebatch() however, and complains about trying to get a java.lang.object from a blob. With MySql, there is no problem doing it this way, even with executeBatch().

Regards

Greg Parent



From: Adam Blinkinsop <[EMAIL PROTECTED]>
Reply-To: Adam Blinkinsop <[EMAIL PROTECTED]>
To: Derby Discussion <[email protected]>
Subject: Re: UDTs, Java_object
Date: Tue, 14 Dec 2004 15:45:57 -0800

Of course, you can create your own way of doing these types: encoding
them somehow into a blob or something.  Shame it's got the load of
work though.

Is there a standard way of supporting user defined types, Jack?

- Adam




Reply via email to