From: | "Dave Cramer" <Dave(at)micro-automation(dot)net> |
---|---|
To: | "'Barry Lind'" <barry(at)xythos(dot)com> |
Cc: | <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Re: [Fwd: Re: Serialize] |
Date: | 2001-10-08 21:31:30 |
Message-ID: | 00f901c15040$98f979a0$0301a8c0@inspiron |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Barry,
Well you know my vote!
Just to re-iterate:
1) I don't think it belongs in the driver
2) I think there are better ways of doing it
No I haven't had a chance to look at the xa code yet
Dave
-----Original Message-----
From: pgsql-jdbc-owner(at)postgresql(dot)org
[mailto:pgsql-jdbc-owner(at)postgresql(dot)org] On Behalf Of Barry Lind
Sent: October 8, 2001 2:26 AM
To: dave(at)micro-automation(dot)net
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: [JDBC] [Fwd: Re: Serialize]
Dave,
I share your concerns about this functionality. In fact last month I
wrote the following in response to a patch to this functionality.
I wouldn't mind this being pulled out of the main code line for now and
moved to contrib until it becomes more robust.
>>Robert,
>>
>>
>>Thanks for the patch. While I didn't review it too closely, what I
>>saw seemed fine.
>>
>>However, I have concerns about the feature as a whole, which really
>>has nothing to do with your patch.
>>
>>I don't like the approach taken here for serialization. It seems to
>>me that this is a half baked attempt to reimplement native java
>>serialization. Why not just use java serialization to do what it
was
>>intended for? We could then store the results of the serialization
in
>>a bytea column, or a LargeObject, or even in a separate table as is
>>done here. However, I am unsure of the desireabilty of creating
these
>>additional tables. The bigest reason I don't like the additional
>>tables is that the serialized objects don't ever get deleted.
>>
>>To the extent that this is documented, I think the feature should be
>>marked as experimental with a caution that it may be changed in
major
>>non-backwardly compatible ways in the future.
>>
>>thanks,
>>--Barry
There are two areas in the current code that I am uncomfortable with.
This serialize code and the code in org/postgresql/xa. Have you looked
at the xa code?
thanks,
--Barry
Dave Cramer wrote:
> While fixing the handling of "unknown" data type in the result set I
was > faced with wading through the Serialize code. > > I am
wondering if this is really a required/desireable feature? > > How
many people out there are actually using it? > > Do we need/want it?
> > My thoughts are: > > 1) There are plenty of persistence layers
which do this job much better. > > 2) I don't think this belongs in a
driver. > 3) The code will be simpler. > > Dave > >
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
From | Date | Subject | |
---|---|---|---|
Next Message | ben.suffolk | 2001-10-09 16:06:48 | To much data for a ResultSet |
Previous Message | Dave Harkness | 2001-10-08 19:07:01 | Re: Fwd: Large Objects (please help) |