除了被锁定的对象之外,我可以将对象的更改保存到另一个 TR 中吗? [英] Can I save changes to objects to another TR besides those they are locked?

查看:19
本文介绍了除了被锁定的对象之外,我可以将对象的更改保存到另一个 TR 中吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试切换到报告源的编辑模式时,弹出窗口告诉我

When I try to switch to edit mode for a Report source, a popup comes up telling me

将为用户XXX的以下请求创建一个新任务".

"A new task will be created for the following request of user XXX".

还建议传输请求.

然而,我不想在此请求中保存我的更改,而是在另一个现有请求中保存.我不知道我的系统中实施了任何版本控制系统,也不知道如何检查.

I don't want to save my changes in this request however, but in another existing one. I am not aware of any versioning systems being implemented in my system, and don't know how to check that.

我想要实现的目标是可能的吗?如果是这样,如何?

Is what i'm trying to achieve possible? And if so, how?

推荐答案

不,这是不可能的.这是一个独占锁有很好的理由——在您尝试更改任何内容之前您应该了解这些原因.简单说

No, this is not possible. There are very good reasons for this being an exclusive lock -- reasons that you should know about before you attempt to change anything. Briefly speaking

  1. CTS 只记录一个物体被触摸,而不是什么发生了变化.
  2. 当传输被释放时,当前状态的整个对象被导出 - 不涉及增量/差异逻辑.
  1. The CTS only notes that an object was touched, not what change was made.
  2. When the transport is released, the entire object in its current state is exported - there is no delta/diff logic involved.

因此您不能将更改单独传输到同一个开发对象.此外,如果您手动对其进行序列化,则第二个传输将始终包含第一个传输的更改.

Therefore you can't separately transport changes to the same development object. Furthermore, if you serialize this manually, the second transport will always comprise the changes of the first one.

部分对象的情况稍微复杂一些 - 您可以在不同的传输中拥有 LIMU METH 对象(类的方法),但是一旦您尝试锁定 R3TR CLAS 主类,你必须解决这个问题.

Things get slightly more complicated with partial objects - you can have LIMU METH objects (methods of a class) in different transports, but as soon as you try to lock the R3TR CLAS main class, you'll have to resolve that.

这篇关于除了被锁定的对象之外,我可以将对象的更改保存到另一个 TR 中吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆