File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
spring-orm/src/main/java/org/springframework/orm/jpa Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2018 the original author or authors.
2
+ * Copyright 2002-2019 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -84,8 +84,9 @@ public abstract class SharedEntityManagerCreator {
84
84
queryTerminatingMethods .add ("execute" ); // JPA 2.1 StoredProcedureQuery
85
85
queryTerminatingMethods .add ("executeUpdate" );
86
86
queryTerminatingMethods .add ("getSingleResult" );
87
- queryTerminatingMethods .add ("getResultList" );
88
87
queryTerminatingMethods .add ("getResultStream" );
88
+ queryTerminatingMethods .add ("getResultList" );
89
+ queryTerminatingMethods .add ("list" ); // Hibernate Query.list() method
89
90
}
90
91
91
92
You can’t perform that action at this time.
0 commit comments