Uses of Interface
nablarch.common.idgenerator.IdGenerator
Packages that use IdGenerator
Package
Description
ユニバーサルDAO機能を提供する。
採番機能を提供する。
メール送信ライブラリ。
応答なし電文を受送信するアクションを提供する。
-
Uses of IdGenerator in nablarch.common.dao
Fields in nablarch.common.dao declared as IdGeneratorModifier and TypeFieldDescriptionprotected IdGenerator
DaoContextFactory.sequenceIdGenerator
シーケンスID採番用のIdGenerator
実装クラスprotected IdGenerator
DaoContextFactory.tableIdGenerator
テーブル採番用のIdGenerator
の実装クラスMethods in nablarch.common.dao with parameters of type IdGeneratorModifier and TypeMethodDescriptionprotected void
BasicDaoContext.setIdGenerator
(jakarta.persistence.GenerationType type, IdGenerator generator) IDジェネレータを設定する。void
DaoContextFactory.setSequenceIdGenerator
(IdGenerator sequenceIdGenerator) シーケンスIDジェネレータを設定する。void
DaoContextFactory.setTableIdGenerator
(IdGenerator tableIdGenerator) テーブルIDジェネレータを設定する。 -
Uses of IdGenerator in nablarch.common.idgenerator
Classes in nablarch.common.idgenerator that implement IdGeneratorModifier and TypeClassDescriptionclass
採番用のテーブルを使用して高速に採番を行うクラス。
採番用テーブルを使用して採番処理を行い、トランザクションのコミット処理を行う。
また、本クラスはリポジトリの機能を用いて初期化することを想定しているので、コンポーネント設定ファイルに初期化の設定を行うこと。class
データベースのシーケンスオブジェクトを用いて一意の値を採番するクラス。class
Deprecated.class
採番用のテーブルを使用して、連番の採番を行うクラス。
このクラスでは、業務トランザクションを使用して採番処理を行い、トランザクションのコミット処理は行わずに採番した値を返却する。
このため、業務アプリケーションの処理が確定されるまでコミットは行われないため、抜け番を発生させずに採番を行うことができる。
ただし、業務アプリケーションが確定されるまではロックが保有されるため、その他の業務処理でロック待機が発生し著しく性能を劣化させる可能性があるため注意が必要である。
また、本クラスはリポジトリの機能を用いて初期化することを想定しているので、コンポーネント設定ファイルに初期化の設定を行うこと。 -
Uses of IdGenerator in nablarch.common.mail
Methods in nablarch.common.mail with parameters of type IdGeneratorModifier and TypeMethodDescriptionvoid
MailRequester.setMailRequestIdGenerator
(IdGenerator mailRequestIdGenerator) メール送信要求IDジェネレータを設定する。 -
Uses of IdGenerator in nablarch.fw.messaging.action
Methods in nablarch.fw.messaging.action that return IdGeneratorModifier and TypeMethodDescriptionAsyncMessageReceiveActionSettings.getReceivedSequenceGenerator()
受信電文連番を採番するためのIdGenerator
を取得する。Methods in nablarch.fw.messaging.action with parameters of type IdGeneratorModifier and TypeMethodDescriptionvoid
AsyncMessageReceiveActionSettings.setReceivedSequenceGenerator
(IdGenerator receivedSequenceGenerator) 受信電文連番を採番するためのIdGenerator
を設定する。
Dialect
を使用してシーケンス採番を行うSequenceIdGenerator
に置き換わりました。