I’m afraid FDMS can’t deal with association properties which are of type java.util.Map.  It must be a java.util.Collection.  I’ll file an enhancement for this since we should support this data type.

 

Jeff

 


From: [email protected] [mailto:[email protected]] On Behalf Of thunderstumpgesatwork
Sent: Wednesday, September 20, 2006 5:22 PM
To: [email protected]
Subject: [flexcoders] ClassCastException with lazy managed association and HibernateAssembler

 

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





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to