第 114 章 Spring JDBC
从 Camel 3.10 开始
仅支持生成者
Spring JDBC 组件是 JDBC 组件的扩展,它具有一个额外的功能,可与 Spring Transaction Manager 集成。
114.1. 依赖项 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
当在 Red Hat build of Camel Spring Boot 中使用 spring-jdbc 时,使用以下 Maven 依赖项来支持自动配置:
<dependency> <groupId>org.apache.camel.springboot</groupId> <artifactId>camel-spring-jdbc-starter</artifactId> </dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-spring-jdbc-starter</artifactId>
</dependency>
版本使用 BOM 以下列方式指定: