• <legend id='BGrTC'><style id='BGrTC'><dir id='BGrTC'><q id='BGrTC'></q></dir></style></legend><tfoot id='BGrTC'></tfoot>
      1. <small id='BGrTC'></small><noframes id='BGrTC'>

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

        SQL7008 错误 - 解决方法?

        SQL7008 Error - Workaround?(SQL7008 错误 - 解决方法?)
        <i id='g8IcC'><tr id='g8IcC'><dt id='g8IcC'><q id='g8IcC'><span id='g8IcC'><b id='g8IcC'><form id='g8IcC'><ins id='g8IcC'></ins><ul id='g8IcC'></ul><sub id='g8IcC'></sub></form><legend id='g8IcC'></legend><bdo id='g8IcC'><pre id='g8IcC'><center id='g8IcC'></center></pre></bdo></b><th id='g8IcC'></th></span></q></dt></tr></i><div id='g8IcC'><tfoot id='g8IcC'></tfoot><dl id='g8IcC'><fieldset id='g8IcC'></fieldset></dl></div>
      3. <legend id='g8IcC'><style id='g8IcC'><dir id='g8IcC'><q id='g8IcC'></q></dir></style></legend>
          <bdo id='g8IcC'></bdo><ul id='g8IcC'></ul>

          • <tfoot id='g8IcC'></tfoot>

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

                  <tbody id='g8IcC'></tbody>
                  本文介绍了SQL7008 错误 - 解决方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在将 JTOpen JDBC 驱动程序用于 DB2 通用数据库.除了简单的语句之外,我对 SQL 的经验很少.

                  I'm using the JTOpen JDBC driver for a DB2 Universal database. I have very little experience with SQL beyond simple statements.

                  从 这个问题,我看到尝试在事务期间在非日志表中插入/更新行"时抛出我遇到的错误(SQL7008)(释义).

                  From this question, I see that the error I'm getting (SQL7008) is thrown when trying to "insert/update rows in a non-journaled table during a transaction" (paraphrased).

                  根据项目负责人的说法,我们的 DB 没有日志记录,并且不会很快出现(不要问我为什么,我不是 DBA).但是,我正在开发一个项目,其中几乎需要一次性commit 所有内容(而不是每次调用执行时都自动提交)(不是完全需要,但它会解决未来会有很多问题).

                  According to the project lead, our DB is not journaled and won't be any time soon (don't ask me why, I'm not the DBA). However, I'm working on a project where being able to commit everything in one go (rather than AutoCommit-ing each time an execute is called) is nearly necessary (not totally required, but it would solve a lot of issues down the road).

                  有没有办法在不启用 Journalling 的情况下解决错误 SQL7008?

                  Is there any way to work around erorr SQL7008 without enabling Journalling?

                  推荐答案

                  在不启用日志的情况下解决此问题的唯一方法是在连接字符串中禁用 事务隔离,如下所示:

                  The only way to work around it without enabling journaling is to disable transaction isolation in your connection string as follows:

                  jdbc:as400://systemname;naming=sql;errors=full;transaction isolation=none;date format=iso
                  

                  可以在 IBM Toolbox for Java JDBC 属性 文档.

                  这篇关于SQL7008 错误 - 解决方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  How can I detect integer overflow on 32 bits int?(如何检测 32 位 int 上的整数溢出?)
                  Local variables before return statements, does it matter?(return 语句之前的局部变量,这有关系吗?)
                  How to convert Integer to int?(如何将整数转换为整数?)
                  How do I create an int array with randomly shuffled numbers in a given range(如何在给定范围内创建一个随机打乱数字的 int 数组)
                  Inconsistent behavior on java#39;s ==(java的行为不一致==)
                  Why is Java able to store 0xff000000 as an int?(为什么 Java 能够将 0xff000000 存储为 int?)

                        <tbody id='Zts35'></tbody>
                    • <small id='Zts35'></small><noframes id='Zts35'>

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

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