クラスの使用
org.springframework.integration.jpa.dsl.JpaInboundChannelAdapterSpec
JpaInboundChannelAdapterSpec を使用するパッケージ
org.springframework.integration.jpa.dsl 内の JpaInboundChannelAdapterSpec 使用
修飾子と型メソッド説明JpaInboundChannelAdapterSpec.deleteAfterPoll
(boolean deleteAfterPoll) "true" に設定されている場合、取得されたオブジェクトは、ポーリング時にデータベースから削除されます。JpaInboundChannelAdapterSpec.deleteInBatch
(boolean deleteInBatch) 設定されていない場合、このプロパティはデフォルトでfalse
に設定されます。これは、エンティティのコレクションが削除される場合、オブジェクトごとに削除が行われることを意味します。JpaInboundChannelAdapterSpec.entityClass
(ClassSE<?> entityClass) データベースからエンティティを取得するために使用されているクラス型を指定します。JpaInboundChannelAdapterSpec.expectSingleResult
(boolean expectSingleResult) このパラメーターは、実行された JPA 操作からの結果として 1 つの結果オブジェクトのみが返されることを示します。JpaInboundChannelAdapterSpec.flushAfterDelete
(boolean flush) true
に設定されている場合、EntityManager.flush()
は永続化操作の後に呼び出されます。static JpaInboundChannelAdapterSpec
Jpa.inboundAdapter
(EntityManagerEE entityManager) 提供されたEntityManager
EE に基づいてJpaInboundChannelAdapterSpec
ビルダーインスタンスを作成します。static JpaInboundChannelAdapterSpec
Jpa.inboundAdapter
(EntityManagerFactoryEE entityManagerFactory) 提供されたEntityManagerFactory
EE に基づいてJpaInboundChannelAdapterSpec
ビルダーインスタンスを作成します。static JpaInboundChannelAdapterSpec
Jpa.inboundAdapter
(JpaOperations jpaOperations) 提供されたJpaOperations
に基づいてJpaInboundChannelAdapterSpec
ビルダーインスタンスを作成します。永続的な操作を実行する JPA クエリを指定します。JpaInboundChannelAdapterSpec.maxResults
(int maxResults) 結果式の最大数を設定します。JpaInboundChannelAdapterSpec.maxResultsExpression
(StringSE maxResultsExpression) 結果式の最大数には SpEL 式を指定します。JpaInboundChannelAdapterSpec.maxResultsExpression
(Expression maxResultsExpression) 結果式の最大数には SpEL 式を指定します。JpaInboundChannelAdapterSpec.namedQuery
(StringSE namedQuery) 名前付きの JPQL ベースのクエリまたはネイティブ SQL クエリの名前を指定します。JpaInboundChannelAdapterSpec.nativeQuery
(StringSE nativeQuery) 永続的な操作を実行するネイティブ SQL クエリを指定します。JpaInboundChannelAdapterSpec.parameterSource
(ParameterSource parameterSource) 追加のパラメーターを提供するために使用されるParameterSource
を指定します。