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 416dee7 commit 3978d55Copy full SHA for 3978d55
spring-orm/src/main/java/org/springframework/orm/jpa/SharedEntityManagerCreator.java
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 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.
@@ -78,6 +78,7 @@ public abstract class SharedEntityManagerCreator {
78
transactionRequiringMethods.add("remove");
79
transactionRequiringMethods.add("refresh");
80
81
+ queryTerminatingMethods.add("execute"); // JPA 2.1 StoredProcedureQuery
82
queryTerminatingMethods.add("executeUpdate");
83
queryTerminatingMethods.add("getSingleResult");
84
queryTerminatingMethods.add("getResultList");
0 commit comments