281 Commits

Author SHA1 Message Date
zhangpeng
99f2e67bca fix: repair sp out parameter double type error 2023-11-15 14:37:54 +08:00
zhangpeng
f762dada8b fix: repair sp out parameter char type error 2023-11-15 11:42:37 +08:00
opengauss_bot
f4e62902a0
!173 [bufix]修复 executeBatch 模式下指定 Statement.RETURN_GENERATED_KEYS 参数且只插入1条数据时报错的问题
Merge pull request !173 from 周斌/repair_batch
2023-11-13 11:55:36 +00:00
opengauss_bot
84c8126ef0
!172 [bufix]修复select语句中包含function关键字导致sql语句分割不正确的问题
Merge pull request !172 from 周斌/select_function
2023-11-13 06:25:18 +00:00
opengauss_bot
6a8c1091bd
!168 [junit] 修复 test 目录 clusterhealthy 包中失败的 junit test case
Merge pull request !168 from Sam皮皮/junit/clusterhealthy
2023-11-13 03:11:30 +00:00
opengauss_bot
46313cf144
!169 [junit] 修复 test 目录 jdbc 包中失败的 junit test case
Merge pull request !169 from Sam皮皮/junit/jdbc
2023-11-13 03:10:32 +00:00
justbk
a74d7bfbc7 修复batchMode=ON时仅插入一条数据抛错的问题 2023-11-11 19:13:20 +08:00
justbk
c4a5e9866f 修复select语句中包含function相关的关键字,导致除号分割异常的问题 2023-11-11 16:27:09 +08:00
zhangpeng
236846369d fix: repair error message index overflow 2023-11-10 14:51:30 +08:00
opengauss_bot
321b587810
!165 让JDBC适配B兼容模式下的四个blob类型
Merge pull request !165 from Cross-罗/master
2023-11-09 02:26:03 +00:00
zhangpeng
88d7b388ed [junit]: fix failed java test cases in jdbc 2023-11-07 16:40:52 +08:00
zhangpeng
fad2d42b5f [junit]: fix failed java test cases in clusterhealthy 2023-11-07 16:20:42 +08:00
luozihao
e9ae5d5c59 为jdbc增加B兼容模式下tinyblob等类型的适配 2023-11-06 19:33:13 +08:00
opengauss_bot
35200d7185
!166 [bugfix] 修复PgStruct中包含null属性值时出现的NPE
Merge pull request !166 from Sam皮皮/fix_struct_contains_null
2023-11-03 10:03:34 +00:00
justbk
367ef64866 remove UTFEncoding 2023-11-03 17:01:16 +08:00
zhangpeng
3cd4d1efd3 fix: Repair the bug of null attributes in Struct 2023-11-03 15:28:43 +08:00
liu-tong-8848
d632a3392d 更新jdbc版本至5.1.1 2023-10-30 10:33:08 +08:00
opengauss_bot
c0bc9e9029
!160 [bugfix] 修复PgStruct中包含特殊字符或者特殊格式的属性值无法处理的问题
Merge pull request !160 from Sam皮皮/fix_struct_special_symbol
2023-09-26 03:13:22 +00:00
zhangpeng
2cdac2dabc fix special symbols contained in pg struct 2023-09-22 15:12:30 +08:00
opengauss_bot
92b780ba50
!161 sql错误位置信息在配置loggerLevel=trace时输出
Merge pull request !161 from 陈紫阳/BUGFIX
2023-09-20 11:42:53 +00:00
chen-czywj
0faaf2d7c1 sql错误位置信息在配置loggerLevel=trace时输出 2023-09-20 19:09:29 +08:00
zhangpeng
53f1fe3ccd feat: Supports PL/pgSQL use in and out parameters of pg array type. 2023-09-18 17:54:45 +08:00
opengauss_bot
4362ee1a52
!153 URL添加option支持
Merge pull request !153 from travelliu/option
2023-09-14 08:19:06 +00:00
opengauss_bot
c16b132ca0
!158 支持JDBC标准中的createStruct接口
Merge pull request !158 from Sam皮皮/sql_type_struct
2023-09-14 07:44:13 +00:00
opengauss_bot
77bbd4dc68
!137 sql执行报错增加错误位置定位
Merge pull request !137 from 陈紫阳/BUGFIX
2023-09-14 07:43:04 +00:00
zhangpeng
fa5d849f43 Supports the functions of the JDBC standard createStruct interface 2023-09-13 19:31:50 +08:00
chen-czywj
980826984d sql执行报错增加错误位置定位 2023-09-13 16:46:07 +08:00
travelliu
ef0eaba37a feat: support options property 2023-09-07 15:09:40 +08:00
justbk
d5fa5b27ca repair jdbc blob only get index 1 issue 2023-09-04 20:15:06 +08:00
zhangpeng
7c18611254 fix: Change maximum number of parameters from 32767 to 65535 2023-08-30 11:22:16 +08:00
justbk
d0cf969ce3 repair unix socket null point exception 2023-08-26 11:24:07 +08:00
opengauss_bot
e9bf325fb2
!152 [bugfix] 修复nvarchar2类型长度在DatabaseMetadata中不正确的问题
Merge pull request !152 from 周斌/nvarchar2
2023-08-21 01:36:06 +00:00
opengauss_bot
5ff825d874
!148 增加adaptiveSetSQLType控制参数支持JDBC batch模式下OID刷新
Merge pull request !148 from travelliu/kettle
2023-08-20 13:26:29 +00:00
opengauss_bot
d9fd89435e
!150 【轻量级 PR】:fix: pgjdbc/pom.xml poDirectory paramater wrong path value
Merge pull request !150 from Sam皮皮/N/A
2023-08-20 11:39:13 +00:00
justbk
92867cbedd repair nvarchar length issue 2023-08-20 11:40:41 +08:00
justbk
1fcb648eeb repair setTimestamp format parse issue in B dbcompatibility mode 2023-08-18 18:41:56 +08:00
Sam皮皮
f2357a10ab
fix: pgjdbc/pom.xml poDirectory paramater wrong path value
Signed-off-by: Sam皮皮 <peng.zhang@enmotech.com>
2023-08-18 09:13:35 +00:00
travelliu
5fcd116227 feat: add adaptiveSetSQLType property
Adaptively modify the inconsistent set sqlType in batch mode. If the first set sqlType is INTEGER and the second set is LONG  the first one will be automatically modify to LONG
2023-08-18 11:04:05 +08:00
opengauss_bot
d2ee82c3e3
!145 characterEncoding增加GB18030支持
Merge pull request !145 from travelliu/characterEncoding_add_gb18030
2023-08-17 05:58:34 +00:00
travelliu
6742d8b44a feat: characterEncoding add gb18030 charset 2023-07-28 15:20:40 +08:00
travelliu
2b1ec26ab7 fix: change driver default port 5431 to 5432 2023-07-13 14:31:34 +08:00
opengauss_bot
8cdbb66a99
!136 fix: call function return out numeric issue
Merge pull request !136 from travelliu/master
2023-07-10 02:20:44 +00:00
travelliu
9b9c950468 fix: call function return out numeric issue 2023-07-07 16:19:45 +08:00
opengauss_bot
e7e2cc25f8
!135 fix: registerOutParameter more than two struct issue
Merge pull request !135 from travelliu/master
2023-07-06 01:26:36 +00:00
opengauss_bot
fd02c9653e
!134 Enhance performance for getIndexInfo() in org.postgresql.jdbc.PgDatabaseMetaData
Merge pull request !134 from 罗海雄/master
2023-07-05 06:25:28 +00:00
罗海雄
9e15b15036
解决PgDatabaseMetaData getIndexInfo里面多次调用expand_array的问题
Signed-off-by: 罗海雄 <haixiong.luo@enmotech.com>
2023-07-05 04:35:44 +00:00
罗海雄
144643c4cd
Revert "getIndexInfo里面,当Version > ServerVersion.v8_3时"
This reverts commit 6fde43e099738fc181c20a02c3ff5115a6b2ca57.
2023-07-05 04:28:36 +00:00
travelliu
aa66eb49b2 fix: registerOutParameter more than two struct issue 2023-07-05 12:05:55 +08:00
serol
6fde43e099 getIndexInfo里面,当Version > ServerVersion.v8_3时
函数information_schema._pg_expandarray(i.indkey)会被多次调用(根据pg_index的行数),在某些场景下会产生性能瓶颈。
这个commit调整写法,只对符合条件的索引才会调用该函数
2023-07-05 10:47:00 +08:00
travelliu
0af1572ef1 fix: add _getTypeNameByOIDStatement for TypeInfoCache. 2023-07-04 14:16:19 +08:00