HHH-9093 - Fixed typo in error message when no implicit selection could
be found
This commit is contained in:
parent
c7903392cd
commit
69c9950b39
|
@ -276,7 +276,7 @@ public class CriteriaQueryImpl<T> extends AbstractNode implements CriteriaQuery<
|
||||||
// if there is not an explicit selection, there is an *implicit* selection of the root entity provided only
|
// if there is not an explicit selection, there is an *implicit* selection of the root entity provided only
|
||||||
// a single query root was defined.
|
// a single query root was defined.
|
||||||
if ( getSelection() == null && !hasImplicitSelection() ) {
|
if ( getSelection() == null && !hasImplicitSelection() ) {
|
||||||
throw new IllegalStateException( "No explicit selection and an implicit one cold not be determined" );
|
throw new IllegalStateException( "No explicit selection and an implicit one could not be determined" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -297,7 +297,7 @@ public class QueryStructure<T> implements Serializable {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( implicitSelection == null ) {
|
if ( implicitSelection == null ) {
|
||||||
throw new IllegalStateException( "No explicit selection and an implicit one cold not be determined" );
|
throw new IllegalStateException( "No explicit selection and an implicit one could not be determined" );
|
||||||
}
|
}
|
||||||
|
|
||||||
return implicitSelection;
|
return implicitSelection;
|
||||||
|
|
Loading…
Reference in New Issue