Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yonyong/vertx-pg-client-patch
vertx-pg-client patch package, fix the bug that String parameter type can not be automatically converted to database type
https://github.com/yonyong/vertx-pg-client-patch
non-blocking postgres postgresql reactive vertx vertx-jdbc vertx-pg-client vertx-sql vertx-sql-client
Last synced: 19 days ago
JSON representation
vertx-pg-client patch package, fix the bug that String parameter type can not be automatically converted to database type
- Host: GitHub
- URL: https://github.com/yonyong/vertx-pg-client-patch
- Owner: yonyong
- Created: 2024-06-07T02:19:26.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-06-07T02:37:47.000Z (6 months ago)
- Last Synced: 2024-10-10T20:41:51.459Z (about 1 month ago)
- Topics: non-blocking, postgres, postgresql, reactive, vertx, vertx-jdbc, vertx-pg-client, vertx-sql, vertx-sql-client
- Language: Java
- Homepage: https://github.com/eclipse-vertx/vertx-sql-client/tree/4.2.7
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
vertx-pg-client 补丁
===============================
### maven依赖
执行 mvn clean install命令后 , 在项目中引入本组件
```xmltop.yonyong
vertx-pg-client-patch
1.0.0```
### 1、修复功能
```
修复 vertx-pg-client string类型无法自动转换数据库字段类型的问题
```
### 2、补丁原理
```
1. 修改PgParamDesc#prepare(TupleInternal)逻辑,字段类型解析功能增强,支持VARCHAR类型转换
2. 修改DataTypeCodec二进制编码和文本编码逻辑,支持VARCHAR类型的属性值编码
```
### 3、适用版本
```
io.vertx:vertx-pg-client:4.2.7
```
### 4、注意事项
```
1)补丁包需要位于pom文件依赖最顶端
2)补丁包基于4.2.7研发,建议与vertx-pg-client版本一致
3)可参考实现逻辑,不导入本补丁包,自行修改vertx-pg-client源码
```