zwjcool commented on issue #10458:
URL: https://github.com/apache/seatunnel/issues/10458#issuecomment-3858275931

   oracle 数据库版本是11
   ojdbc11-23.9.0.25.07.jar
   
   这正是一个典型的“版本跨度过大导致的不兼容”案例。
   
   虽然你使用的是最新的 ojdbc11(针对 Oracle 23c 开发的驱动),而数据库是 Oracle 11g,理论上 JDBC 驱动是向下兼容的,但 
Timezone 版本(时区文件版本) 是一个例外。Oracle 11g 的默认时区版本非常低(通常是 V11 或 V14),而最新的 JDBC 
驱动内置的时区定义可能已经到了 V40+。
   
   当新版驱动带着“未来的时区算法”去询问老旧的 11g 数据库时,双方对时区 ID 的编码对不上,就会报出 ORA-18716。
   辦法:降级 JDBC 驱动
   虽然 ojdbc11 看起来更先进,但对于 Oracle 11g 这种老古董,ojdbc8 才是最稳定的配搭。
   
   建议: 尝试更换为 ojdbc8-19.x 版本的驱动。19c 版本的驱动是对 11g 兼容性测试最充分的,且它包含的 DST(夏令时)补丁更容易被 
11g 识别。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to