mnimer / dphibernate

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

Changes to primitive's from default values are not detected correctly #60

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
A java Boolean which is set to null will arrive on the client as `false`.  If 
the user then sets this value to `false`, a change message is not generated, 
because `oldValue == newValue`, so we perceive no change has occured.

Instead, if a user changes the value of a primitive, we should always generate 
a change message.

Original issue reported on code.google.com by martypit...@gtempaccount.com on 15 Mar 2011 at 9:18