Title:
Bug 73960:(Watson Migration Closure)[ORM] there should be a ORMIsDirty(Entity) which would return true if
| View in TrackerStatus/Resolution/Reason: Closed/Won't Fix/
Reporter/Name(from Bugbase): João Fernandes / João Fernandes (Joao Fernandes)
Created: 12/03/2008
Components: ORM Support
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Normal / Unknown
Locale/System: English / Platforms All
Vote Count: 0
Problem:
[ORM] there should be a ORMIsDirty(Entity) which would return true if
1) not exist in the database
2) if exists but properties values don't match to the corresponding entity entityLoad( entity , pk ).
This is important if for example we are returning entities from Flex to CF. For LCDS this would be an easy way to implement conflict resolution since we always get the oldbean + newbean we could do something like this <cfif not ORMIsDirty( oldBean )><cfset EntitySave( newBean )></cfif>
Method:
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3036949
External Customer Info:
External Company:
External Customer Name: João Fernandes
External Customer Email: 4E9A42C244586146992015D5
External Test Config: 12/03/2008
Attachments:
Comments: