We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 165c9e2 commit bf5db14Copy full SHA for bf5db14
src/main/java/org/apache/ibatis/executor/statement/StatementUtil.java
@@ -1,5 +1,5 @@
1
/**
2
- * Copyright 2009-2016 the original author or authors.
+ * Copyright 2009-2019 the original author or authors.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
@@ -42,7 +42,7 @@ private StatementUtil() {
42
*/
43
public static void applyTransactionTimeout(Statement statement, Integer queryTimeout, Integer transactionTimeout) throws SQLException {
44
if (transactionTimeout == null) {
45
- return;
+ return;
46
}
47
if (queryTimeout == null || queryTimeout == 0 || transactionTimeout < queryTimeout) {
48
statement.setQueryTimeout(transactionTimeout);
0 commit comments