File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
hibernate-core/src/main/java/org/hibernate/internal Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -959,15 +959,15 @@ else if ( namedQueryDefinition.getResultSetRef() != null ) {
959959 queryReturns = rsMapping .getQueryReturns ();
960960 }
961961 else {
962- throw new AssertionFailure ( "Unsupported named query model. Please report the bug in Hibernate EntityManager" );
962+ throw new AssertionFailure ( "Unsupported named query model. Please report the bug in Hibernate EntityManager" );
963963 }
964964
965965 if ( queryReturns .length > 1 ) {
966966 throw new IllegalArgumentException ( "Cannot create TypedQuery for query with more than one return" );
967967 }
968968
969969 if ( queryReturns .length == 0 ) {
970- throw new IllegalArgumentException ("Named query exists but its result type is not compatible" );
970+ throw new IllegalArgumentException ( "Named query exists but its result type is not compatible" );
971971 }
972972
973973 final NativeSQLQueryReturn nativeSQLQueryReturn = queryReturns [0 ];
You can’t perform that action at this time.
0 commit comments