[2.0] Added more verbosity when attempting to iterate through a fetch join.
This commit is contained in:
parent
511bf2248e
commit
9ae7671b26
@ -116,9 +116,11 @@ class QueryException extends \Doctrine\ORM\ORMException
|
||||
);
|
||||
}
|
||||
|
||||
// TODO: Add the $assoc to the error message
|
||||
public static function iterateWithFetchJoinNotAllowed($assoc) {
|
||||
return new self("Iterate with fetch join not allowed");
|
||||
return new self(
|
||||
"Iterate with fetch join in class " . $assoc->sourceEntityName .
|
||||
" using association " . $assoc->sourceFieldName . " not allowed."
|
||||
);
|
||||
}
|
||||
|
||||
public static function associationPathCompositeKeyNotSupported()
|
||||
|
Loading…
x
Reference in New Issue
Block a user