Apache ShardingSphere 中文文档 5.4.1must implements Comparable”? . . . . . . . . . . . . . . . . . . . . 512 13.6.5 其他 Windows 环境下,通过 Git 克隆 ShardingSphere 源码时为什么提示文件名 过长,如何解决? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ShardingSphere‐Proxy 对系统库/表(如 information_schema、pg_catalog)支持有限,通过部分图形化 数据库客户端连接 Proxy 时,可能客户端或 Proxy 会有错误提示。可以使用命令行客户端(mysql、psql、 gsql 等)连接 Proxy 验证功能。 7.2.3 前提条件 使用 Docker 启动 ShardingSphere‐Proxy 无须额外依赖。使用二进制分发包启动 Proxy 启动完成后,通过 DistSQL 移除异常数据源。 5. 使用 ShardingSphere‐Proxy 执行 MySQL / PostgreSQL / openGauss 的客户端命令直接操作 ShardingSphere‐Proxy 即可。 使用 MySQL 客户端连接 ShardingSphere‐Proxy: mysql -h${proxy_host} -P${proxy_port}0 码力 | 530 页 | 4.49 MB | 1 年前3
Apache ShardingSphere v5.5.0 中文文档must implements Comparable”? . . . . . . . . . . . . . . . . . . . . 538 13.6.5 其他 Windows 环境下,通过 Git 克隆 ShardingSphere 源码时为什么提示文件名 过长,如何解决? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ShardingSphere‐Proxy 对系统库/表(如 information_schema、pg_catalog)支持有限,通过部分图形化 数据库客户端连接 Proxy 时,可能客户端或 Proxy 会有错误提示。可以使用命令行客户端(mysql、psql、 gsql 等)连接 Proxy 验证功能。 7.2.3 前提条件 使用 Docker 启动 ShardingSphere‐Proxy 无须额外依赖。使用二进制分发包启动 Proxy 启动完成后,通过 DistSQL 移除异常数据源。 5. 使用 ShardingSphere‐Proxy 执行 MySQL / PostgreSQL / openGauss 的客户端命令直接操作 ShardingSphere‐Proxy 即可。 使用 MySQL 客户端连接 ShardingSphere‐Proxy: mysql -h${proxy_host} -P${proxy_port}0 码力 | 557 页 | 4.61 MB | 1 年前3
Apache ShardingSphere 中文文档 5.3.2must implements Comparable”? . . . . . . . . . . . . . . . . . . . . 490 13.6.5 其他 Windows 环境下,通过 Git 克隆 ShardingSphere 源码时为什么提示文件名 过长,如何解决? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ShardingSphere‐Proxy 对系统库/表(如 information_schema、pg_catalog)支持有限,通过部分图形化 数据库客户端连接 Proxy 时,可能客户端或 Proxy 会有错误提示。可以使用命令行客户端(mysql、psql、 gsql 等)连接 Proxy 验证功能。 7.2.3 前提条件 使用 Docker 启动 ShardingSphere‐Proxy 无须额外依赖。使用二进制分发包启动 Proxy 启动完成后,通过 DistSQL 移除异常数据源。 5. 使用 ShardingSphere‐Proxy 执行 MySQL / PostgreSQL / openGauss 的客户端命令直接操作 ShardingSphere‐Proxy 即可。 使用 MySQL 客户端连接 ShardingSphere‐Proxy: mysql -h${proxy_host} -P${proxy_port}0 码力 | 508 页 | 4.44 MB | 1 年前3
Apache ShardingSphere 中文文档 5.0.0-alpha. . . . . . . 288 7.12 ShardingSphere 提供的默认分布式自增主键策略为什么是不连续的,且尾数大多为偶数? 288 7.13 Windows 环境下,通过 Git 克隆 ShardingSphere 源码时为什么提示文件名过长,如何解 决? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ${proxy_port} ${proxy_conf_directory} 2.2.4 4. 使用 ShardingSphere-Proxy 执行 MySQL 或 PostgreSQL 的客户端命令直接操作 ShardingSphere‐Proxy 即可。以 MySQL 举例: mysql -u${proxy_username} -p${proxy_password} -h${proxy_host} good_prority IN (1, 10); 全库路由 全库路由用于处理对数据库的操作,包括用于库设置的 SET 类型的数据库管理命令,以及 TCL 这样的事 务控制语句。在这种情况下,会根据逻辑库的名字遍历所有符合名字匹配的真实库,并在真实库中执行 该命令,例如: SET autocommit=0; 在 t_order 中执行,t_order 有 2 个真实库。则实际会在 t_order_00 码力 | 301 页 | 3.44 MB | 1 年前3
Apache ShardingSphere 中文文档 5.2.0must implements Comparable”? . . . . . . . . . . . . . . . . . . . . 427 8.6.5 其他 Windows 环境下,通过 Git 克隆 ShardingSphere 源码时为什么提示文件名 过长,如何解决? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ShardingSphere‐Proxy 对系统库/表(如 information_schema、pg_catalog)支持有限,通过部分图形化 数据库客户端连接 Proxy 时,可能客户端或 Proxy 会有错误提示。可以使用命令行客户端(mysql、psql、 gsql 等)连接 Proxy 验证功能。 2.2.3 前提条件 使用 Docker 启动 ShardingSphere‐Proxy 无须额外依赖。使用二进制分发包启动 ${proxy_port} ${proxy_conf_directory} 5. 使用 ShardingSphere‐Proxy 执行 MySQL / PostgreSQL / openGauss 的客户端命令直接操作 ShardingSphere‐Proxy 即可。 使用 MySQL 客户端连接 ShardingSphere‐Proxy: mysql -h${proxy_host} -P${proxy_port}0 码力 | 449 页 | 5.85 MB | 1 年前3
Apache ShardingSphere 中文文档 5.1.1must implements Comparable”? . . . . . . . . . . . . . . . . . . . . 310 7.8.25 [其他] Windows 环境下,通过 Git 克隆 ShardingSphere 源码时为什么提示文件名 过长,如何解决? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . sh ${proxy_port} ${proxy_conf_directory} 2.2.4 使用 ShardingSphere-Proxy 执行 MySQL 或 PostgreSQL 的客户端命令直接操作 ShardingSphere‐Proxy 即可。以 MySQL 举例: mysql -u${proxy_username} -p${proxy_password} -h${proxy_host} 10.5 使用规范 源码编译 从 Github 下载 Apache ShardingSphere 源码,对源码进行编译,操作命令如下。 git clone --depth 1 https://github.com/apache/shardingsphere.git cd shardingsphere mvn clean install -Dmaven.javadoc.skip=true -Dcheckstyle0 码力 | 409 页 | 4.47 MB | 1 年前3
Apache ShardingSphere 中文文档 5.1.2must implements Comparable”? . . . . . . . . . . . . . . . . . . . . 322 7.8.25 [其他] Windows 环境下,通过 Git 克隆 ShardingSphere 源码时为什么提示文件名 过长,如何解决? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . sh ${proxy_port} ${proxy_conf_directory} 2.2.5 使用 ShardingSphere-Proxy 执行 MySQL 或 PostgreSQL 的客户端命令直接操作 ShardingSphere‐Proxy 即可。以 MySQL 举例: mysql -u${proxy_username} -p${proxy_password} -h${proxy_host} 10.5 使用规范 源码编译 从 Github 下载 Apache ShardingSphere 源码,对源码进行编译,操作命令如下。 git clone --depth 1 https://github.com/apache/shardingsphere.git cd shardingsphere mvn clean install -Dmaven.javadoc.skip=true -Dcheckstyle0 码力 | 446 页 | 4.67 MB | 1 年前3
Apache ShardingSphere 中文文档 5.1.0must implements Comparable”? . . . . . . . . . . . . . . . . . . . . 306 7.8.25 [其他] Windows 环境下,通过 Git 克隆 ShardingSphere 源码时为什么提示文件名 过长,如何解决? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . sh ${proxy_port} ${proxy_conf_directory} 2.2.4 使用 ShardingSphere-Proxy 执行 MySQL 或 PostgreSQL 的客户端命令直接操作 ShardingSphere‐Proxy 即可。以 MySQL 举例: mysql -u${proxy_username} -p${proxy_password} -h${proxy_host} 10.5 使用规范 源码编译 从 Github 下载 Apache ShardingSphere 源码,对源码进行编译,操作命令如下。 git clone --depth 1 https://github.com/apache/shardingsphere.git cd shardingsphere mvn clean install -Dmaven.javadoc.skip=true -Dcheckstyle0 码力 | 406 页 | 4.40 MB | 1 年前3
Apache ShardingSphere 中文文档 5.0.0value must implements Comparable”? . . . . . . . . . . . . . . . . 293 7.7.22 22. [其他] Windows 环境下,通过 Git 克隆 ShardingSphere 源码时为什么提示文 件名过长,如何解决? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ${proxy_port} ${proxy_conf_directory} 2.2.4 4. 使用 ShardingSphere-Proxy 执行 MySQL 或 PostgreSQL 的客户端命令直接操作 ShardingSphere‐Proxy 即可。以 MySQL 举例: mysql -u${proxy_username} -p${proxy_password} -h${proxy_host} 推送到生产环境并立即生效。 操作指南 熔断实例 可在 IP 地址 @PORT 节点写入 DISABLED(忽略大小写)表示禁用该实例,删除 DISABLED 表示启用。 Zookeeper 命令如下: [zk: localhost:2181(CONNECTED) 0] set /${your_zk_namespace}/status/compute_nodes/ circuit_bre0 码力 | 385 页 | 4.26 MB | 1 年前3
Mybatis 3.3.0 中文用户指南帮助改进文档 帮助改进文档... 不管你以何种方式发现了文档的不足,或是丢失对某一特性的描述,那么你能做的最好的事情莫过于去研究它并把文档写出来。 该文档 xdoc 格式的源码文件可通过项目的 Git 代码库 来获取。Fork 该源码库,做出更新,然后提交一个 pull request 吧。 你将成为本文档的最佳作者,MyBatis 的用户定会过来查阅的。 当前的国际化版本 当前的国际化版本 中获取 SqlSession 既然有了 SqlSessionFactory ,顾名思义,我们就可以从中获得 SqlSession 的实例了。SqlSession 完全包含了面向数据库执行 SQL 命令所需的所有方法。你可以通过 SqlSession 实例来直接执行已映射的 SQL 语句。例如: SqlSession session = sqlSessionFactory.openSession(); structure. 这部分内容剩余的示例将假设你使用了这种目录结构。 SqlSessions 使用 MyBatis 的主要 Java 接口就是 SqlSession。尽管你可以使用这个接口执行命令,获 取映射器和管理事务。我们会讨论 SqlSession 本身更多,但是首先我们还是要了解如果获取 一个 SqlSession 实例。SqlSessions 是由 SqlSessionFactory0 码力 | 98 页 | 2.03 MB | 1 年前3
共 19 条
- 1
- 2













