tracker issue : CF-3041858

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

Bug 83764:If I create a one-to-one relationship in the mappedsuperclass component, CF is not able to generate DDL for table creation

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/

Reporter/Name(from Bugbase): Sumit Verma / SUMIT VERMA (Sumit Verma)

Created: 08/06/2010

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: 0

Duplicate ID:	CF-3041709

Problem:

If I create a one-to-one relationship in the mappedsuperclass component, CF is not able to generate DDL for table creation. Once the table is created manually, everything works fine.
Method:

Data.cfccomponent persistent="true" {property name="dataID" ormtype="int" fieldtype="id" generator="identity" unsavedvalue="0" default="0" ;property name="extraData" fieldtype="one-to-one" cfc="ExtraData" cascade="all" ;}ExtraData.cf ccomponent persistent="true" extends="ExtraDataBase" {}component mappedsuperclass="true" {property name="dataID" ormtype="int" fieldtype="id" generator="foreign" params="{property='data'}" ;property name="data" fieldtype="one-to-one" cfc="Data" constrained="true" ;}
Result:

Error while resolving the relationship xxx in cfc xxx. Check the column mapping for this property.

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

Watson Bug ID:	3041858

External Customer Info:
External Company:  
External Customer Name: SUMIT VERMA
External Customer Email: 127A13044B7B54A3992015C2
External Test Config: 08/06/2010

Attachments:

Comments: