{"id":109082,"date":"2026-09-23T10:08:53","date_gmt":"2026-09-23T02:08:53","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/109082.html"},"modified":"2026-09-23T10:08:53","modified_gmt":"2026-09-23T02:08:53","slug":"wcdk-r2dbc-%e5%af%bc%e8%af%bb%ef%bc%9a%e4%bb%8e-r2dbc-%e8%a7%84%e8%8c%83%e5%88%b0%e5%93%8d%e5%ba%94%e5%bc%8f%e6%95%b0%e6%8d%ae%e8%ae%bf%e9%97%ae","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/109082.html","title":{"rendered":"WCDK-R2DBC \u5bfc\u8bfb\uff1a\u4ece R2DBC \u89c4\u8303\u5230\u54cd\u5e94\u5f0f\u6570\u636e\u8bbf\u95ee"},"content":{"rendered":"<\/p>\n<h2>WCDK R2DBC&#xff1a;\u9762\u5411 Spring WebFlux \u7684\u54cd\u5e94\u5f0f\u6570\u636e\u5e93\u8bbf\u95ee\u6846\u67b6\u63a8\u8350<\/h2>\n<p>\u5728 Spring WebFlux \u5fae\u670d\u52a1\u5f00\u53d1\u4e2d&#xff0c;\u5982\u679c\u7ee7\u7eed\u4f7f\u7528\u4f20\u7edf JDBC&#xff0c;\u5bb9\u6613\u5728\u54cd\u5e94\u5f0f\u94fe\u8def\u4e2d\u5f15\u5165\u963b\u585e\u64cd\u4f5c\u3002WCDK R2DBC \u662f\u4e00\u4e2a\u57fa\u4e8e Spring Boot\u3001Spring Data R2DBC \u548c Project Reactor \u7684\u54cd\u5e94\u5f0f\u6570\u636e\u5e93\u8bbf\u95ee\u6846\u67b6&#xff0c;\u9002\u5408\u6784\u5efa\u9ad8\u5e76\u53d1\u3001\u975e\u963b\u585e\u7684 WebFlux \u5e94\u7528\u3002<\/p>\n<p>\u9879\u76ee\u5730\u5740&#xff1a;<\/p>\n<p><span class=\"link-card-box\"><span class=\"link-title\">GitHub &#8211; WCDK\/wcdk-r2dbc \u00b7 GitHub<\/span><span class=\"link-desc\">Contribute to WCDK\/wcdk-r2dbc development by creating an account on GitHub.<\/span><span class=\"link-link\"><img decoding=\"async\" class=\"link-link-icon\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260923020852-6ab334b426b7e.png\" \/>https:\/\/github.com\/WCDK\/wcdk-r2dbc<\/span><\/span><\/p>\n<p><span class=\"link-card-box\"><span class=\"link-title\">wcdk-r2dbc &#8211; AtomGit<\/span><span class=\"link-link\"><img decoding=\"async\" class=\"link-link-icon\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260923020852-6ab334b426b7e.png\" \/>https:\/\/gitcode.com\/wc936248\/wcdk-r2dbc<\/span><\/span><\/p>\n<p>\u4e00\u3001\u9879\u76ee\u7b80\u4ecb<\/p>\n<p>WCDK R2DBC \u9762\u5411 Spring Boot 3.5&#043;&#xff0c;\u63d0\u4f9b\u4e86\u66f4\u52a0\u5b8c\u6574\u3001\u6613\u7528\u7684\u54cd\u5e94\u5f0f\u6570\u636e\u8bbf\u95ee\u80fd\u529b&#xff0c;\u4e3b\u8981\u7279\u6027\u5305\u62ec&#xff1a;<\/p>\n<ul>\n<li>Repository \u52a8\u6001\u4ee3\u7406<\/li>\n<li>\u54cd\u5e94\u5f0f CRUD<\/li>\n<li>\u6d3e\u751f\u67e5\u8be2\u65b9\u6cd5<\/li>\n<li>QueryWrapper \u548c Lambda Wrapper<\/li>\n<li>\u54cd\u5e94\u5f0f\u4e8b\u52a1<\/li>\n<li>\u591a\u6570\u636e\u6e90\u8def\u7531<\/li>\n<li>\u903b\u8f91\u5220\u9664<\/li>\n<li>XML SQL<\/li>\n<li>SQL \u751f\u547d\u5468\u671f\u62e6\u622a\u4e0e\u89c2\u6d4b<\/li>\n<li>MySQL\u3001PostgreSQL\u3001Oracle\u3001\u8fbe\u68a6\u6570\u636e\u5e93\u65b9\u8a00\u652f\u6301<\/li>\n<li>\u57fa\u4e8e r2dbc-pool \u7684\u8fde\u63a5\u6c60\u7ba1\u7406<\/li>\n<\/ul>\n<p>Repository\u3001Service \u548c Controller \u53ef\u4ee5\u4fdd\u6301\u5b8c\u6574\u7684 Mono \/ Flux \u94fe\u8def&#xff0c;\u907f\u514d\u4f20\u7edf\u963b\u585e\u5f0f\u6570\u636e\u5e93\u8bbf\u95ee\u5e26\u6765\u7684\u6027\u80fd\u95ee\u9898\u3002<\/p>\n<h3>\u4e8c\u3001\u4e3a\u4ec0\u4e48\u63a8\u8350 WCDK R2DBC&#xff1f;<\/h3>\n<h4>1. \u4fdd\u6301\u5168\u94fe\u8def\u54cd\u5e94\u5f0f<\/h4>\n<p>\u6846\u67b6\u7684\u67e5\u8be2\u548c\u66f4\u65b0\u63a5\u53e3\u7edf\u4e00\u4f7f\u7528 Mono\u3001Flux \u8fd4\u56de\u503c&#xff0c;\u80fd\u591f\u81ea\u7136\u9002\u914d Spring WebFlux\u3002<\/p>\n<p>public Mono&lt;User&gt; findById(Long id) {<br \/>\n    return userRepository.selectById(id);<br \/>\n}<\/p>\n<p>public Flux&lt;User&gt; findEnabledUsers() {<br \/>\n    return userRepository.findByStatus(1);<br \/>\n} <\/p>\n<p>\u4f7f\u7528\u8fc7\u7a0b\u4e2d\u5e94\u907f\u514d\u8c03\u7528 block()&#xff0c;\u4e5f\u4e0d\u8981\u5728\u4e1a\u52a1\u4ee3\u7801\u4e2d\u624b\u52a8\u8c03\u7528 subscribe()\u3002<\/p>\n<h4>2. \u51cf\u5c11\u6837\u677f\u4ee3\u7801<\/h4>\n<p>\u53ea\u9700\u8981\u5b9a\u4e49\u5b9e\u4f53\u548c Repository \u63a5\u53e3&#xff0c;\u5373\u53ef\u83b7\u5f97\u5e38\u7528\u7684\u589e\u5220\u6539\u67e5\u80fd\u529b&#xff1a;<\/p>\n<p>&#064;Repository<br \/>\npublic interface UserRepository extends BaseRepository&lt;User&gt; {<\/p>\n<p>    Flux&lt;User&gt; findByStatus(Integer status);<br \/>\n} <\/p>\n<p>\u6846\u67b6\u652f\u6301 findBy\u3001countBy\u3001existsBy\u3001deleteBy\u3001update&#8230;By&#8230; \u7b49\u6d3e\u751f\u67e5\u8be2\u65b9\u6cd5\u3002<\/p>\n<h4>3. \u67e5\u8be2\u80fd\u529b\u7075\u6d3b<\/h4>\n<p>\u7b80\u5355\u67e5\u8be2\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u65b9\u6cd5\u540d\u6d3e\u751f\u67e5\u8be2&#xff0c;\u590d\u6742\u67e5\u8be2\u5219\u53ef\u4ee5\u4f7f\u7528 QueryWrapper&#xff1a;<\/p>\n<p>QueryWrapper&lt;User&gt; wrapper &#061; new QueryWrapper&lt;&gt;();<\/p>\n<p>wrapper.eq(&#034;status&#034;, 1)<br \/>\n       .like(&#034;email&#034;, &#034;%&#064;example.com&#034;)<br \/>\n       .orderByDesc(&#034;id&#034;)<br \/>\n       .limit(20)<br \/>\n       .offset(0);<\/p>\n<p>Flux&lt;User&gt; users &#061; userRepository.selectList(wrapper); <\/p>\n<p>\u540c\u65f6\u652f\u6301\u8303\u56f4\u67e5\u8be2\u3001\u6a21\u7cca\u67e5\u8be2\u3001\u96c6\u5408\u67e5\u8be2\u3001\u5d4c\u5957 AND \/ OR\u3001\u6392\u5e8f\u548c\u5206\u9875\u7b49\u529f\u80fd\u3002<\/p>\n<h4>4. \u66f4\u9002\u5408\u4f01\u4e1a\u7ea7\u573a\u666f<\/h4>\n<p>WCDK R2DBC \u4e0d\u4ec5\u63d0\u4f9b\u57fa\u7840 CRUD&#xff0c;\u8fd8\u652f\u6301&#xff1a;<\/p>\n<ul>\n<li>\u54cd\u5e94\u5f0f\u4e8b\u52a1<\/li>\n<li>\u591a\u6570\u636e\u6e90\u5207\u6362<\/li>\n<li>\u903b\u8f91\u5220\u9664<\/li>\n<li>XML \u52a8\u6001 SQL<\/li>\n<li>SQL \u5ba1\u8ba1\u4e0e\u6027\u80fd\u7edf\u8ba1<\/li>\n<li>Micrometer \u89c2\u6d4b<\/li>\n<li>\u591a\u79cd\u6570\u636e\u5e93\u65b9\u8a00<\/li>\n<li>\u81ea\u5b9a\u4e49\u7c7b\u578b\u8f6c\u6362<\/li>\n<\/ul>\n<p>\u56e0\u6b64&#xff0c;\u5b83\u4e0d\u4ec5\u9002\u5408\u7b80\u5355\u9879\u76ee&#xff0c;\u4e5f\u9002\u5408\u4f01\u4e1a\u7ea7\u5fae\u670d\u52a1\u548c\u6570\u636e\u8bbf\u95ee\u5c42\u5efa\u8bbe\u3002<\/p>\n<h3>\u4e09\u3001\u5feb\u901f\u5f00\u59cb<\/h3>\n<h4>1. \u6dfb\u52a0 Maven \u4f9d\u8d56<\/h4>\n<p>&lt;dependency&gt;<br \/>\n    &lt;groupId&gt;com.wcdk.r2dbc&lt;\/groupId&gt;<br \/>\n    &lt;artifactId&gt;wcdk-r2dbc&lt;\/artifactId&gt;<br \/>\n    &lt;version&gt;3.5.16&lt;\/version&gt;<br \/>\n&lt;\/dependency&gt; <\/p>\n<p>\u7136\u540e\u6839\u636e\u5b9e\u9645\u6570\u636e\u5e93\u6dfb\u52a0\u5bf9\u5e94\u7684 R2DBC \u9a71\u52a8&#xff0c;\u4f8b\u5982 PostgreSQL&#xff1a;<\/p>\n<p>&lt;dependency&gt;<br \/>\n    &lt;groupId&gt;org.postgresql&lt;\/groupId&gt;<br \/>\n    &lt;artifactId&gt;r2dbc-postgresql&lt;\/artifactId&gt;<br \/>\n    &lt;version&gt;1.0.7.RELEASE&lt;\/version&gt;<br \/>\n    &lt;scope&gt;runtime&lt;\/scope&gt;<br \/>\n&lt;\/dependency&gt; <\/p>\n<h4>2. \u914d\u7f6e\u6570\u636e\u5e93<\/h4>\n<p>spring:<br \/>\n  r2dbc:<br \/>\n    url: r2dbc:postgresql:\/\/localhost:5432\/demo<br \/>\n    username: postgres<br \/>\n    password: postgres<\/p>\n<p>wcdk:<br \/>\n  r2dbc:<br \/>\n    enabled: true<br \/>\n    sql-log-enabled: true <\/p>\n<h4>3. \u542f\u7528 Repository \u626b\u63cf<\/h4>\n<p>&#064;EnableWcdkR2dbcRepositories(<br \/>\n        basePackages &#061; &#034;com.example.repository&#034;<br \/>\n)<br \/>\n&#064;SpringBootApplication<br \/>\npublic class Application {<\/p>\n<p>    public static void main(String[] args) {<br \/>\n        SpringApplication.run(Application.class, args);<br \/>\n    }<br \/>\n} <\/p>\n<h4>4. \u5b9a\u4e49\u5b9e\u4f53\u548c Repository<\/h4>\n<p>&#064;Table(&#034;sys_user&#034;)<br \/>\npublic record User(<br \/>\n        &#064;Id Long id,<br \/>\n        &#064;Column(&#034;user_name&#034;) String userName,<br \/>\n        String email,<br \/>\n        Integer status<br \/>\n) {<br \/>\n}<br \/>\n&#064;Repository<br \/>\npublic interface UserRepository extends BaseRepository&lt;User&gt; {<\/p>\n<p>    Flux&lt;User&gt; findByStatus(Integer status);<br \/>\n} <\/p>\n<h3>\u56db\u3001\u54cd\u5e94\u5f0f\u4e8b\u52a1<\/h3>\n<p>WCDK R2DBC \u652f\u6301 TransactionalOperator&#xff1a;<\/p>\n<p>public Mono&lt;User&gt; create(User user) {<br \/>\n    return transactionalOperator.transactional(<br \/>\n            userRepository.insert(user)<br \/>\n    );<br \/>\n} <\/p>\n<p>\u4e5f\u53ef\u4ee5\u7ed3\u5408 Spring \u6807\u51c6\u7684 &#064;Transactional \u4f7f\u7528&#xff0c;\u9002\u5408\u591a\u4e2a\u6570\u636e\u5e93\u64cd\u4f5c\u9700\u8981\u4fdd\u8bc1\u539f\u5b50\u6027\u7684\u4e1a\u52a1\u573a\u666f\u3002<\/p>\n<h3>\u4e94\u3001\u9002\u7528\u573a\u666f<\/h3>\n<p>WCDK R2DBC \u7279\u522b\u9002\u5408\u4ee5\u4e0b\u9879\u76ee&#xff1a;<\/p>\n<ul>\n<li>Spring WebFlux \u5fae\u670d\u52a1<\/li>\n<li>\u9ad8\u5e76\u53d1 API \u670d\u52a1<\/li>\n<li>\u54cd\u5e94\u5f0f\u540e\u53f0\u7ba1\u7406\u7cfb\u7edf<\/li>\n<li>\u7269\u8054\u7f51\u548c\u5b9e\u65f6\u6570\u636e\u670d\u52a1<\/li>\n<li>\u591a\u6570\u636e\u6e90\u4e1a\u52a1\u7cfb\u7edf<\/li>\n<li>\u9700\u8981\u7edf\u4e00 Repository \u89c4\u8303\u7684\u4f01\u4e1a\u9879\u76ee<\/li>\n<li>\u5e0c\u671b\u4ece JDBC \u9010\u6b65\u8fc1\u79fb\u5230 R2DBC \u7684\u5e94\u7528<\/li>\n<\/ul>\n<h3>\u516d\u3001\u603b\u7ed3<\/h3>\n<p>\u5982\u679c\u4f60\u7684\u9879\u76ee\u5df2\u7ecf\u91c7\u7528 Spring WebFlux&#xff0c;\u5e76\u4e14\u5e0c\u671b\u6784\u5efa\u771f\u6b63\u7684\u975e\u963b\u585e\u6570\u636e\u8bbf\u95ee\u94fe\u8def&#xff0c;WCDK R2DBC \u662f\u4e00\u4e2a\u503c\u5f97\u5173\u6ce8\u7684\u5f00\u6e90\u9879\u76ee\u3002<\/p>\n<p>\u5b83\u5728 Spring Data R2DBC \u7684\u57fa\u7840\u4e0a\u8865\u5145\u4e86 Repository \u52a8\u6001\u4ee3\u7406\u3001\u6d3e\u751f\u67e5\u8be2\u3001Wrapper\u3001\u4e8b\u52a1\u3001\u591a\u6570\u636e\u6e90\u3001\u903b\u8f91\u5220\u9664\u3001XML SQL \u548c SQL \u89c2\u6d4b\u7b49\u4f01\u4e1a\u7ea7\u80fd\u529b&#xff0c;\u80fd\u591f\u6709\u6548\u51cf\u5c11\u6570\u636e\u8bbf\u95ee\u5c42\u7684\u91cd\u590d\u4ee3\u7801&#xff0c;\u540c\u65f6\u4fdd\u7559\u8f83\u597d\u7684\u6269\u5c55\u6027\u548c\u63a7\u5236\u529b\u3002<\/p>\n<p>\u63a8\u8350\u5173\u6ce8\u5e76\u8bd5\u7528&#xff1a;<\/p>\n<p>GitHub &#8211; WCDK\/wcdk-r2dbc \u00b7 GitHub<\/p>\n<p>wcdk-r2dbc &#8211; AtomGit<\/p>\n<p>\u9879\u76ee\u5177\u4f53\u529f\u80fd\u548c\u914d\u7f6e\u4ee5\u4ed3\u5e93 README \u4e3a\u51c6\u3002\u67e5\u770b WCDK R2DBC \u5b98\u65b9\u4ed3\u5e93<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WCDK R2DBC&#xff1a;\u9762\u5411 Spring WebFlux \u7684\u54cd\u5e94\u5f0f\u6570\u636e\u5e93\u8bbf\u95ee\u6846\u67b6\u63a8\u8350<br \/>\n\u5728 Spring WebFlux \u5fae\u670d\u52a1\u5f00\u53d1\u4e2d&#xff0c;\u5982\u679c\u7ee7\u7eed\u4f7f\u7528\u4f20\u7edf JDBC&#xff0c;\u5bb9\u6613\u5728\u54cd\u5e94\u5f0f\u94fe\u8def\u4e2d\u5f15\u5165\u963b\u585e\u64cd\u4f5c\u3002WCDK R2DBC \u662f\u4e00\u4e2a\u57fa\u4e8e Spring Boot\u3001Spring Data R2DBC \u548c Project Reactor \u7684\u54cd\u5e94\u5f0f\u6570\u636e\u5e93\u8bbf\u95ee\u6846\u67b6&#xff0c;\u9002\u5408\u6784\u5efa\u9ad8\u5e76\u53d1\u3001\u975e\u963b\u585e\u7684 WebFlux \u5e94\u7528\u3002<br \/>\n\u9879\u76ee\u5730\u5740&amp;#xff1a<\/p>\n","protected":false},"author":2,"featured_media":109081,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[12444,11820,12443,12442,99,98],"topic":[],"class_list":["post-109082","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-12444","tag-atomgit","tag-r2dbc","tag-spring-webflux","tag-java","tag-spring-boot"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>WCDK-R2DBC \u5bfc\u8bfb\uff1a\u4ece R2DBC \u89c4\u8303\u5230\u54cd\u5e94\u5f0f\u6570\u636e\u8bbf\u95ee - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/109082.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WCDK-R2DBC \u5bfc\u8bfb\uff1a\u4ece R2DBC \u89c4\u8303\u5230\u54cd\u5e94\u5f0f\u6570\u636e\u8bbf\u95ee - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"WCDK R2DBC&#xff1a;\u9762\u5411 Spring WebFlux \u7684\u54cd\u5e94\u5f0f\u6570\u636e\u5e93\u8bbf\u95ee\u6846\u67b6\u63a8\u8350 \u5728 Spring WebFlux \u5fae\u670d\u52a1\u5f00\u53d1\u4e2d&#xff0c;\u5982\u679c\u7ee7\u7eed\u4f7f\u7528\u4f20\u7edf JDBC&#xff0c;\u5bb9\u6613\u5728\u54cd\u5e94\u5f0f\u94fe\u8def\u4e2d\u5f15\u5165\u963b\u585e\u64cd\u4f5c\u3002WCDK R2DBC \u662f\u4e00\u4e2a\u57fa\u4e8e Spring Boot\u3001Spring Data R2DBC \u548c Project Reactor \u7684\u54cd\u5e94\u5f0f\u6570\u636e\u5e93\u8bbf\u95ee\u6846\u67b6&#xff0c;\u9002\u5408\u6784\u5efa\u9ad8\u5e76\u53d1\u3001\u975e\u963b\u585e\u7684 WebFlux \u5e94\u7528\u3002 \u9879\u76ee\u5730\u5740&amp;#xff1a\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/109082.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-23T02:08:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260923020852-6ab334b426b7e.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/109082.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/109082.html\",\"name\":\"WCDK-R2DBC \u5bfc\u8bfb\uff1a\u4ece R2DBC \u89c4\u8303\u5230\u54cd\u5e94\u5f0f\u6570\u636e\u8bbf\u95ee - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-23T02:08:53+00:00\",\"dateModified\":\"2026-09-23T02:08:53+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/109082.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/109082.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/109082.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WCDK-R2DBC \u5bfc\u8bfb\uff1a\u4ece R2DBC \u89c4\u8303\u5230\u54cd\u5e94\u5f0f\u6570\u636e\u8bbf\u95ee\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"WCDK-R2DBC \u5bfc\u8bfb\uff1a\u4ece R2DBC \u89c4\u8303\u5230\u54cd\u5e94\u5f0f\u6570\u636e\u8bbf\u95ee - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/109082.html","og_locale":"zh_CN","og_type":"article","og_title":"WCDK-R2DBC \u5bfc\u8bfb\uff1a\u4ece R2DBC \u89c4\u8303\u5230\u54cd\u5e94\u5f0f\u6570\u636e\u8bbf\u95ee - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"WCDK R2DBC&#xff1a;\u9762\u5411 Spring WebFlux \u7684\u54cd\u5e94\u5f0f\u6570\u636e\u5e93\u8bbf\u95ee\u6846\u67b6\u63a8\u8350 \u5728 Spring WebFlux \u5fae\u670d\u52a1\u5f00\u53d1\u4e2d&#xff0c;\u5982\u679c\u7ee7\u7eed\u4f7f\u7528\u4f20\u7edf JDBC&#xff0c;\u5bb9\u6613\u5728\u54cd\u5e94\u5f0f\u94fe\u8def\u4e2d\u5f15\u5165\u963b\u585e\u64cd\u4f5c\u3002WCDK R2DBC \u662f\u4e00\u4e2a\u57fa\u4e8e Spring Boot\u3001Spring Data R2DBC \u548c Project Reactor \u7684\u54cd\u5e94\u5f0f\u6570\u636e\u5e93\u8bbf\u95ee\u6846\u67b6&#xff0c;\u9002\u5408\u6784\u5efa\u9ad8\u5e76\u53d1\u3001\u975e\u963b\u585e\u7684 WebFlux \u5e94\u7528\u3002 \u9879\u76ee\u5730\u5740&amp;#xff1a","og_url":"https:\/\/www.wsisp.com\/helps\/109082.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-23T02:08:53+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260923020852-6ab334b426b7e.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/109082.html","url":"https:\/\/www.wsisp.com\/helps\/109082.html","name":"WCDK-R2DBC \u5bfc\u8bfb\uff1a\u4ece R2DBC \u89c4\u8303\u5230\u54cd\u5e94\u5f0f\u6570\u636e\u8bbf\u95ee - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-23T02:08:53+00:00","dateModified":"2026-09-23T02:08:53+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/109082.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/109082.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/109082.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"WCDK-R2DBC \u5bfc\u8bfb\uff1a\u4ece R2DBC \u89c4\u8303\u5230\u54cd\u5e94\u5f0f\u6570\u636e\u8bbf\u95ee"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/109082","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=109082"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/109082\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/109081"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=109082"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=109082"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=109082"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=109082"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}