File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
hibernate-core/src/test/java/org/hibernate/orm/test/jpa/query Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change 2727import static org .assertj .core .api .Assertions .assertThat ;
2828import static org .hibernate .testing .transaction .TransactionUtil .doInJPA ;
2929import static org .junit .Assert .assertEquals ;
30- import static org .junit .Assert .assertThrows ;
3130
3231/**
3332 * @author Andrea Boriero
@@ -180,18 +179,6 @@ public void testNativeQueriesFromNamedQueriesDoNotShareQuerySpaces() {
180179 } );
181180 }
182181
183- @ Test
184- @ JiraKey (value = "HHH-11413" )
185- public void testNamedNativeQueryExceptionNoResultDefined () {
186- doInJPA ( this ::entityManagerFactory , entityManager -> {
187- assertThrows (
188- "Named query exists but its result type is not compatible" ,
189- IllegalArgumentException .class ,
190- () -> entityManager .createNamedQuery ( "NamedNativeQuery" , Game .class )
191- );
192- } );
193- }
194-
195182 @ Test
196183 @ JiraKey (value = "HHH-11413" )
197184 public void testNamedQueryAddedFromTypedNativeQuery () {
You can’t perform that action at this time.
0 commit comments