インターフェースの使用
org.springframework.integration.jpa.core.JpaOperations
JpaOperations を使用するパッケージ
パッケージ
説明
JPA モジュールのコアクラスを提供します。
Java DSL の JPA コンポーネントサポートを提供します。
org.springframework.integration.jpa.core 内の JpaOperations 使用
JpaOperations を実装している org.springframework.integration.jpa.core のクラス修飾子と型クラス説明classJPA テンプレートと同様のクラスは、クラスが Spring 3.1 以降非推奨であるため、JpaTemplate を使用しない JPA アダプター / ゲートウェイに必要な操作に限定されています。型 JpaOperations のパラメーターを持つ org.springframework.integration.jpa.core のコンストラクター修飾子コンストラクター説明JpaExecutor(JpaOperations jpaOperations) カスタム動作が必要な場合は、JpaOperationsのカスタム実装を渡すことができます。org.springframework.integration.jpa.dsl 内の JpaOperations 使用
型 JpaOperations のパラメーターを持つ org.springframework.integration.jpa.dsl のメソッド修飾子と型メソッド説明static JpaInboundChannelAdapterSpecJpa.inboundAdapter(JpaOperations jpaOperations) 提供されたJpaOperationsに基づいてJpaInboundChannelAdapterSpecビルダーインスタンスを作成します。Jpa.outboundAdapter(JpaOperations jpaOperations) 提供されたJpaOperationsに基づいて、一方向アダプター用のJpaUpdatingOutboundEndpointSpecビルダーインスタンスを作成します。Jpa.retrievingGateway(JpaOperations jpaOperations) 提供されたJpaOperationsに基づいて、リクエスト / 応答ゲートウェイ用のJpaRetrievingOutboundGatewaySpecビルダーインスタンスを作成します。Jpa.updatingGateway(JpaOperations jpaOperations) 提供されたJpaOperationsに基づいて、リクエスト / 応答ゲートウェイ用のJpaUpdatingOutboundEndpointSpecビルダーインスタンスを作成します。