<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Jdbc on 知识铺的博客</title>
    <link>https://index.zshipu.com/geek/tags/JDBC/</link>
    <description>Recent content in Jdbc on 知识铺的博客</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-CN</language>
    <lastBuildDate>Wed, 06 Mar 2024 12:18:00 +0000</lastBuildDate>
    <atom:link href="https://index.zshipu.com/geek/tags/JDBC/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Spring-jdbc</title>
      <link>https://index.zshipu.com/geek/post/code/docs/Spring/JDBC/Spring-jdbc/</link>
      <pubDate>Wed, 06 Mar 2024 12:18:00 +0000</pubDate>
      <guid>https://index.zshipu.com/geek/post/code/docs/Spring/JDBC/Spring-jdbc/</guid>
      <description>Spring JDBC Author: HuiFer 源码阅读仓库: SourceHot-Spring 环境搭建 依赖 1 2 3 compile(project(&amp;#34;:spring-jdbc&amp;#34;)) compile group: &amp;#39;com.alibaba&amp;#39;, name: &amp;#39;druid&amp;#39;, version: &amp;#39;1.1.21&amp;#39; compile group: &amp;#39;mysql&amp;#39;, name: &amp;#39;mysql-connector-java&amp;#39;, version: &amp;#39;5.1.47&amp;#39; db 配置 1 2 3 4 jdbc.url= jdbc.driverClass= jdbc.username= jdbc.password= 实体对象 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 public class HsLog { private Integer id; private String source; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getSource() { return source; } public void setSource(String source) { this.source = source; } } DAO 1 2 3 4 5 public interface HsLogDao { List&amp;lt;HsLog&amp;gt; findAll(); void save(HsLog hsLog); } 实现类 1 2 3 4 5 6</description>
    </item>
    <item>
      <title>Sharding JDBC 分片策略四：Hint强制路由HintShardingStrategy</title>
      <link>https://index.zshipu.com/geek/post/mybatis/Sharding-JDBC-%E5%88%86%E7%89%87%E7%AD%96%E7%95%A5%E5%9B%9BHint%E5%BC%BA%E5%88%B6%E8%B7%AF%E7%94%B1HintShardingStrategy/</link>
      <pubDate>Mon, 23 May 2022 15:45:00 +0800</pubDate>
      <guid>https://index.zshipu.com/geek/post/mybatis/Sharding-JDBC-%E5%88%86%E7%89%87%E7%AD%96%E7%95%A5%E5%9B%9BHint%E5%BC%BA%E5%88%B6%E8%B7%AF%E7%94%B1HintShardingStrategy/</guid>
      <description>一、Hint强制路由HintShardingStrategy 在分库分区中，有些特定的SQL，Sharding-jdbc、Mycat、Vitess都不支持（可以查看相关文档各自对哪些SQL不支持）,例如：insert into table1 select * from table2 where &amp;hellip;.这种SQL 路由很麻烦，需要解析ta</description>
    </item>
  </channel>
</rss>
