Well, there are different opinions about DTOs too.
I assume you've heard (Spring developer) Rod Johnsons take on the matter...?
Jon Stevens wrote (2009-08-27 17:35):
> Yea, just cause Hibernate has that feature doesn't mean it is a good
> feature. =) You may want to consider the DTO pattern...
> I've found that over time, the pain of creating and dealing with DTO's
> is mitigated by the cleanliness of it and you don't run into weird
> issues like you are running into...
> On Thu, Aug 27, 2009 at 12:05 AM, Mattias Jiderhamn
> <mj-li...@expertsystems.se <mailto:mj-li...@expertsystems.se>> wrote:
> Jon Stevens wrote (2009-08-26 21:48):
>> You put Hibernate objects into the session?
>> On Wed, Aug 26, 2009 at 8:37 AM, Mattias Jiderhamn
>> <mj-li...@expertsystems.se <mailto:mj-li...@expertsystems.se>> wrote:
>> In Resin 4 <persistent-store type="file"> seems to use
>> Hessian for
>> serializing the session values.
>> This causes some trouble for us since Hessian in some cases
>> tries to
>> access uninitialized Hibernate collections after the
>> is closed.
>> Is there a way to revert Resin 4 to the old behaviour...?
resin-interest mailing list