Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    One-to-one relational record save

    v8.3p_2012-12-14/PowerEdition Deployment 2012-12-14

    Hi Team,

    I need something like this: I have a record that I need to save in 2 tables, like master/detail but has one-to-one relationship.

    I want to show just one form, including all fileds in both tables. when user save the data, it'll save the data to details, get the ID and save the primaty data with the foreign key ID. I can do this with hibernate.

    My question is, can I do it with DS?? If so, is there any example that I can look??

    Thanks & Regards

    #2
    It's not what set of updates you are ultimately trying to do. However, in general, you can either issue multiple dsRequests from the client by calling DataSource.updateData/addData/removeData and using Queuing (see QuickStart), or, send whatever data you need to server via DataSource.performCustomOperation(), and then create and execute() several server-side DSRequests to do whatever you need (discussed in the QuickStart as well).

    Comment


      #3
      Thanks for the info.

      Comment

      Working...
      X