[Helma-user] Mapping of Objects with PROTOTYPE and ID column strange errors
Michael Platzer
michael.platzer at knallgrau.at
Mon Jul 2 23:49:45 CEST 2007
I assume that you have to use '$id' and '$prototype' instead of the
actual name of the column. also see the demo app, which hannes attached
to this helma bug: http://helma.org/bugs/show_bug.cgi?id=516#c11
michi
Franz Philipp Moser schrieb:
> type.properties
>
> _db = catalog
> _table = MGRS
>
> _id = ID
> _prototype = PROTOTYPE
> #_parent = target
>
> target = object(HopObject)
> target.local.1 = MGR_F_TARGET_ID
> target.foreign.1 = ID
> target.local.2 = PROTOTYPE
> target.foreign.2 = MGR_F_TARGET_PROTOTYPE
> <<<<<
>
> And in the root prototype
> _db = catalog
> _table = ROOT
>
> _id = ID
> _prototype = PROTOTYPE
>
> things = object(Mgr)
> things.local.1 = ID
> things.foreign.1 = MGR_F_TARGET_ID
> things.local.2 = PROTOTYPE
> things.foreign.2 = MGR_F_TARGET_PROTOTYPE
> <<<<<<
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://helma.org/pipermail/helma-user/attachments/20070702/444bd720/attachment.html
More information about the Helma-user
mailing list