Revert "too slow flush from idea, sorry for the noise" This reverts commit a89697937dc7216cb8a638dd24c8d72b83971567.
Project: http://git-wip-us.apache.org/repos/asf/tomee/repo Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/01bb65b2 Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/01bb65b2 Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/01bb65b2 Branch: refs/heads/tomee-1.7.x Commit: 01bb65b2caaaf9d0c14a70ec72ad9b5de51ccb66 Parents: fe611d7 Author: Jonathan Gallimore <[email protected]> Authored: Thu Jul 30 13:46:32 2015 +0100 Committer: Jonathan Gallimore <[email protected]> Committed: Thu Jul 30 13:46:32 2015 +0100 ---------------------------------------------------------------------- .../openejb/resource/jdbc/managed/local/ManagedConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tomee/blob/01bb65b2/container/openejb-core/src/main/java/org/apache/openejb/resource/jdbc/managed/local/ManagedConnection.java ---------------------------------------------------------------------- diff --git a/container/openejb-core/src/main/java/org/apache/openejb/resource/jdbc/managed/local/ManagedConnection.java b/container/openejb-core/src/main/java/org/apache/openejb/resource/jdbc/managed/local/ManagedConnection.java index 68c3cff..02bb552 100644 --- a/container/openejb-core/src/main/java/org/apache/openejb/resource/jdbc/managed/local/ManagedConnection.java +++ b/container/openejb-core/src/main/java/org/apache/openejb/resource/jdbc/managed/local/ManagedConnection.java @@ -133,7 +133,7 @@ public class ManagedConnection implements InvocationHandler { setAutoCommit(false); } catch (final SQLException xae) { // we are alreay in a transaction so this can't be called from a user perspective - some XA DataSource prevents it in their code final String message = "Can't set auto commit to false cause the XA datasource doesn't support it, this is likely an issue"; - final Logger logger = Logger.getInstance(LogCategory.OPENEJB_RESOURCE_JDBC, ManagedConnection.class); + final Logger logger = Logger.getInstance(LogCategory.OPENEJB_RESOURCE_JDBC, ManagedConnection.class) if (logger.isDebugEnabled()) { // we don't want to print the exception by default logger.warning(message, xae); } else {
