Hello,
I’m exploring ORM and having issues with mapping the FK that is of uniqueidentifier in MSSQL. I have spent many hours searching but have not found an example of this sort… perhaps someone here may have used this type of implementation?
Here’s an example of the code:
system.cfc
/Primary Key/
property name=“SysID” column=“EntryID” type=“string” ormtype=“string” length=“36” setter=“false” generator=“guid” fieldtype=“id”;
/join mapping/
property name=“RegistrationID” type=“string” ormtype=“string” fieldType=“one-to-many” cfc=“REGISTRATION” fkcolumn=“RegistrationID”;