tracker issue : CF-3043658

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 86751:-(Watson Migration Closure)Entity can't handle mapping an FK back to itself

| View in Tracker

Status/Resolution/Reason: Closed/Won't Fix/LowImpact

Reporter/Name(from Bugbase): Andrew Scott / Andrew Scott (Andrew Scott)

Created: 03/27/2011

Components: ORM Support

Versions: 9.0.1

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Platforms All

Vote Count: 1

Problem:

Entity can't handle mapping an FK back to itself. For more of an explanationhttp://www.andyscott.id.au/2011/3/27/ColdFusion-9-ORM-problem-with-mapping-a-FK-to-the-same-entityI can manually edit the column when switching the save mapping to true, and the editing the genrated mapping hbxml file. Now if I have the attribute column as in the blog post, it should create the column mapping in the hbxml file, however it doesn't.I find this a serious flaw to the ORM side of things, and I would suggest using the column name to set the column name in the hbxml, no more extra attributes. Lets make it do what it is there for, and nothing more and nothing less.
Method:


Result:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3043658

External Customer Info:
External Company:  
External Customer Name: Andrew Scott
External Customer Email: 3DEA395D4926D3D0992015B9
External Test Config: 03/27/2011

Attachments:

Comments: