I notice that proxyKey is null. Have you implemented the proxy
interface correctly? Normally the getter for proxyKey should return
The entities primary key.
Another common gotcha with collections is to e sure that the class
within the collection is referenced somewhere in your application.
If not, the class is compiled into the swf, and the collection members
arrive on the client as Object, instead of the correct type.
This breaks serialization.
Hope tha helps
Marty
Sent from my iPhone
> --
> 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
> .
>
Do you see any warnings or errors in the console?
Note - we use the Logging framework, as opposed to trace() so you might need
to activate it -- call this on startup:
Log.addTarget( new TraceTarget() );
That'll make sure our log messages get traced out.
--------------------------------------------------
From: "Nicolas Beaudrot" <gal...@gmail.com>
Sent: Tuesday, February 15, 2011 7:04 AM
To: "dpHibernate" <dphib...@googlegroups.com>
Subject: Re: Serialize List only first object serialized
--
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.
Thanks Marty for the response. But all entities implement IHibernateProxy. And I have a bean SpringLazyLoadService.
This is my app-config.xml : http://pastebin.com/2ezNu46m
I added a new TraceTarget, but the console does'nt display errors or warnings.
When i run the flex application in debug mode, I got some errors :
Something bad happend
java.lang.NoClassDefFoundError : com/google/common/collect/ArrayListMultimap
Fault when trying to load paged collection data - java.lang.NoClassDefFoundError : com/google/common/collect/ArrayListMultimap
But, I don't use ArrayListMultimap, I'm using ArrayCollection. It's strange.
For each objects in the list, proxyKeys is not null, but proxyInitialized = false.
I don't know what to do :)