I'll try and take a look at the RC3 / LazyOverflow combo and see what the
problem is. Which version of the Spring adapter are you using?
The source for the demo I put together for the article should work as a good
template - grab it from here:
http://code.google.com/p/dphibernate/source/browse/#svn/trunk/samples/lazyLoadingWithSpring
Marty
--------------------------------------------------
From: "jandrade" <jand...@gmail.com>
Sent: Thursday, January 06, 2011 3:22 PM
To: "dpHibernate" <dphib...@googlegroups.com>
Subject: lazyoverflow example issue with dpHibernate 2.0-RC3
> --
> You received this message because you are subscribed to the Google Groups
> "dpHibernate" group.
> To post to this group, send email to dphib...@googlegroups.com.
> To unsubscribe from this group, send email to
> dphibernate...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/dphibernate?hl=en.
>
>
Sorry for taking so long to reply - busy start to the year.
I've just had a quick look at this ... and I believe that the issue lies
with the Spring IDE validation.
The bean is declared in the spring context as prototype, and dpHibernate
invokes Spring to instantiate a serializer on a per-instance basis. The
object to be serialized is passed in at runtime.
AFAIK, this is a valid Spring configuration (ie., I use it in production
without issue), however I'll follow up with the Spring community to double
check. In the mean time, I'd suggest suspending the validation within
SpringIDE.
Marty
--------------------------------------------------
From: "jandrade" <jand...@gmail.com>
Sent: Monday, January 10, 2011 12:30 PM
To: "dpHibernate" <dphib...@googlegroups.com>
Subject: Re: lazyoverflow example issue with dpHibernate 2.0-RC3
It's invalid for HibernateSerializer to be constructed without an object to
serialize, which is why there isn't a default constructor.
Marty
--------------------------------------------------
From: "Nam" <ale...@gmail.com>
Sent: Thursday, January 13, 2011 10:16 AM