0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

OutSystemsでシーケンス番号管理

Last updated at Posted at 2024-04-21

OutSystemsでシーケンス番号管理

目的

EntityアクションのGetForUpdateの動作を確認し、
シーケンス番号を管理できるか検証すること

環境

実装方法

  1. シーケンス番号管理用のEntity作成
  2. GetForUpdate後にSleepするアクション作成(アクションA)
  3. GetForUpdate後にSleepしないアクション作成(アクションB)
  4. アクションA実行後にアクションBを実行
  5. アクションAの更新が完了してからアクションBがシーケンス番号を取得する
  6. 目的以外のシーケンス番号は更新されていないことを確認する

実装詳細

GetForUpdateのタイムアウト時間はプラットフォーム全体のデフォルトのクエリのタイムアウトが使用されているはずだが、個人環境のため確認できていません(公式

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?