Hi,

I've tried to implement some lazy managed associations to improve
performance when we're loading a large object tree. 

I'm currently getting the following error on the server when it
attempts to get the reference id's of the lazy association.

Any ideas what the problem is? It's not able to cast
'org.hibernate.collection.PersistentMap'...

thanks,
Thunder


Exception in RtmpReader thread: java.lang.ClassCastException:
org.hibernate.collection.PersistentMap
java.lang.ClassCastException: org.hibernate.collection.PersistentMap
at flex.data.DataDestination.getReferencedIds(DataDestination.java:435)
at flex.data.DataDestination.getReferencedIds(DataDestination.java:459)
at flex.data.DataDestination.getReferencedIds(DataDestination.java:396)
at
flex.data.SequenceManager.getNoSyncSequencedMessage(SequenceManager.java:914)
at flex.data.SequenceManager.manageSequence(SequenceManager.java:483)
at flex.data.SequenceManager.manageSequence(SequenceManager.java:470)
at flex.data.DataService.serviceMessage(DataService.java:317)
at
flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:548)
at
flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:302)
at
flex.messaging.endpoints.rtmp.AbstractRTMPServer.dispatchMessage(AbstractRTMPServer.java:682)
at
flex.messaging.endpoints.rtmp.NIORTMPConnection$RTMPReader.run(NIORTMPConnection.java:665)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:643)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:668)
at java.lang.Thread.run(Thread.java:595)







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to