Re: Mapping of Objects with PROTOTYPE and ID column strange errors

Michael Platzer <[email protected]>
Newsgroups gmane.comp.java.helma.general
Message-ID <[email protected]>
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
> <<<<<<
>

_______________________________________________
Helma-user mailing list
[email protected]
http://helma.org/mailman/listinfo/helma-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.