代码拉取完成,页面将自动刷新
36
[feature] repair jdbc's RefCursorTest module's testcase failed
已合并
What this PR does / why we need it:
- repair jdbc's RefCursorTest module's testcase failed
Which issue this PR fixes (optional, infixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes
#I3X59N:org.postgresql.test.jdbc2.RefCursorTest函数参数的注册类型,与实际输出类型不一致
Special notes for your reviewer:
- these testcase fail because Types.REF_CURSOR not compatibility with Types.OTHER in PgCallableStatement, so I add default compatibility convert (add that case but do nothing).
- add a new compatibility type is very ugly, I must add a elseif case and do something same as before. so I add PgCallstatementTypeCompatibility class to deal with it. To add a new compatibility type, just call addConvert in static block and esay to use!
Release note:
RefCursorTest passed:
related PgCallableStatement'testcase Jdbc3CallableStatementTest module result,notice:testInOut and testByte01 failed because another reason, is not my code restructure fault!