db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Parent" <gregpar...@msn.com>
Subject Re: UDTs, Java_object
Date Tue, 14 Dec 2004 23:59:31 GMT
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 <cognitivelink@gmail.com>
>Reply-To: Adam Blinkinsop <cognitivelink@gmail.com>
>To: Derby Discussion <derby-user@db.apache.org>
>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



Mime
View raw message