• <legend id='TZurB'><style id='TZurB'><dir id='TZurB'><q id='TZurB'></q></dir></style></legend>
      <bdo id='TZurB'></bdo><ul id='TZurB'></ul>

      <small id='TZurB'></small><noframes id='TZurB'>

      <tfoot id='TZurB'></tfoot>
      <i id='TZurB'><tr id='TZurB'><dt id='TZurB'><q id='TZurB'><span id='TZurB'><b id='TZurB'><form id='TZurB'><ins id='TZurB'></ins><ul id='TZurB'></ul><sub id='TZurB'></sub></form><legend id='TZurB'></legend><bdo id='TZurB'><pre id='TZurB'><center id='TZurB'></center></pre></bdo></b><th id='TZurB'></th></span></q></dt></tr></i><div id='TZurB'><tfoot id='TZurB'></tfoot><dl id='TZurB'><fieldset id='TZurB'></fieldset></dl></div>
      1. ORA-01882: 未找到时区区域

        时间:2023-09-20
          1. <legend id='fkbYz'><style id='fkbYz'><dir id='fkbYz'><q id='fkbYz'></q></dir></style></legend>

            <small id='fkbYz'></small><noframes id='fkbYz'>

            <tfoot id='fkbYz'></tfoot>

          2. <i id='fkbYz'><tr id='fkbYz'><dt id='fkbYz'><q id='fkbYz'><span id='fkbYz'><b id='fkbYz'><form id='fkbYz'><ins id='fkbYz'></ins><ul id='fkbYz'></ul><sub id='fkbYz'></sub></form><legend id='fkbYz'></legend><bdo id='fkbYz'><pre id='fkbYz'><center id='fkbYz'></center></pre></bdo></b><th id='fkbYz'></th></span></q></dt></tr></i><div id='fkbYz'><tfoot id='fkbYz'></tfoot><dl id='fkbYz'><fieldset id='fkbYz'></fieldset></dl></div>
                • <bdo id='fkbYz'></bdo><ul id='fkbYz'></ul>
                    <tbody id='fkbYz'></tbody>
                  本文介绍了ORA-01882: 未找到时区区域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我从 Java 应用程序访问 Oracle 数据库,当我运行我的应用程序时出现以下错误:

                  I'm accessing an Oracle Database from a java application, when I run my application I get the following error:

                  java.sql.SQLException: ORA-00604: 递归 SQL 级别 1 发生错误ORA-01882: 未找到时区区域

                  java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-01882: timezone region not found

                  推荐答案

                  您也可以尝试检查 Oracle jdbc 驱动程序和 Oracle 数据库的版本.就在今天,我在使用 ojdbc6.jar(版本 11.2.0.3.0)连接到 Oracle 9.2.0.4.0 服务器时遇到了这个问题.将其替换为 ojdbc6.jar 版本 11.1.0.7.0 解决了问题.

                  You may also try to check the version of the Oracle jdbc driver and Oracle database. Just today I had this issue when using ojdbc6.jar (version 11.2.0.3.0) to connect to an Oracle 9.2.0.4.0 server. Replacing it with ojdbc6.jar version 11.1.0.7.0 solved the issue.

                  我还设法使 ojdbc6.jar 版本 11.2.0.3.0 无错误地连接,方法是在文件 oracle/jdbc/defaultConnectionProperties.properties(在 jar).在此处(断开的链接)

                  I also managed to make ojdbc6.jar version 11.2.0.3.0 connect without error, by adding oracle.jdbc.timezoneAsRegion=false in file oracle/jdbc/defaultConnectionProperties.properties (inside the jar). Found this solution here (broken link)

                  然后,可以在命令行中添加-Doracle.jdbc.timezoneAsRegion=false,或者在使用的配置文件中添加AddVMOption -Doracle.jdbc.timezoneAsRegion=false这个符号.

                  Then, one can add -Doracle.jdbc.timezoneAsRegion=false to the command line, or AddVMOption -Doracle.jdbc.timezoneAsRegion=false in config files that use this notation.

                  您也可以以编程方式执行此操作,例如使用 System.setProperty.

                  You can also do this programmatically, e.g. with System.setProperty.

                  在某些情况下,如果允许,您可以在每个连接的基础上添加环境变量(SQL Developer 在高级"连接属性中允许这样做;我验证它在连接到没有问题并使用数据库链接到具有的数据库).

                  In some cases you can add the environment variable on a per-connection basis if that's allowed (SQL Developer allows this in the "Advanced" connection properties; I verified it to work when connecting to a database that doesn't have the problem and using a database link to a database which has).

                  这篇关于ORA-01882: 未找到时区区域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:如何声明变量并在同一个 Oracle SQL 脚本中使用它? 下一篇:休眠oracle序列产生大间隙

                  相关文章

                    <i id='uF7my'><tr id='uF7my'><dt id='uF7my'><q id='uF7my'><span id='uF7my'><b id='uF7my'><form id='uF7my'><ins id='uF7my'></ins><ul id='uF7my'></ul><sub id='uF7my'></sub></form><legend id='uF7my'></legend><bdo id='uF7my'><pre id='uF7my'><center id='uF7my'></center></pre></bdo></b><th id='uF7my'></th></span></q></dt></tr></i><div id='uF7my'><tfoot id='uF7my'></tfoot><dl id='uF7my'><fieldset id='uF7my'></fieldset></dl></div>
                    1. <tfoot id='uF7my'></tfoot>

                        <bdo id='uF7my'></bdo><ul id='uF7my'></ul>
                    2. <legend id='uF7my'><style id='uF7my'><dir id='uF7my'><q id='uF7my'></q></dir></style></legend>
                    3. <small id='uF7my'></small><noframes id='uF7my'>