[progress Communities] [progress Openedge Abl] Maintain Parent-id-relations When Passing...

  • Thread starter Thread starter Jens Dahlin
  • Start date Start date
Status
Not open for further replies.
J

Jens Dahlin

Guest
Relations defined as parent-id-relations are "destroyed" when the dataset is passed by-value. I've checked with support and they see this as a product limitation and not a bug. Since by-value basically creates new records the recids are changed (and the corresponding relation field not updated). Therefore my idea is: Maintain parent-id-relations when passing datasets by-value. This matters because when working with external xml-documents relations are very often (mostly?) nested without an explicit id. This matches parent-id-relation with its built in reference support. Sending BY-REFERENCE is one possible workaround but this isn't convenient if the call is done from one session to another (ie appserver). Other workarounds include to serialize the dataset into xml or json and pass it as a longchar, adding another dataset that specifies data relations through an id, and possibly more. All these workarounds add some kind of complexity.

Continue reading...
 
Status
Not open for further replies.
Back
Top