pupsnow / dphibernate

Automatically exported from code.google.com/p/dphibernate
0 stars 0 forks source link

Re: ReferenceError: Error #1056: Cannot create property proxyInitialized on ... #52

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have a standard remote classPOJO on the server that is being sent to the Flex 
client. It is not a persistent entity and is therefore should not be handled by 
hibernate.

Marty commented:

"dpHibernate registers custom serializers for sending / receiving calls between 
the server & client.  As part of this, the proxyInitialized and proxyKey values 
are injected onto objects being sent from the server to the client.  This is 
only supposed to happen if the object being serialized is a IHibernateProxy.  
However, it may be the case that they're getting injected on all objects.

However, aside from some nasty log messages, there are no other problems caused 
on the client by this.  When the object is deserialized on the client, any 
fields that were received from the server which are not present on the client 
version of the class are ignored (and the error message you're seeing is logged 
out)."

Original issue reported on code.google.com by aaron.tr...@gmail.com on 8 Oct 2010 at 5:37

GoogleCodeExporter commented 9 years ago

Original comment by martypit...@gtempaccount.com on 15 Mar 2011 at 3:40