Update EntityManager.php
This commit is contained in:
parent
1880cbd8b6
commit
cd36407f28
@ -290,7 +290,7 @@ use Doctrine\Common\Util\ClassUtils;
|
||||
$query = new Query($this);
|
||||
|
||||
if ( ! empty($dql)) {
|
||||
$query->setDql($dql);
|
||||
$query->setDQL($dql);
|
||||
}
|
||||
|
||||
return $query;
|
||||
@ -311,7 +311,7 @@ use Doctrine\Common\Util\ClassUtils;
|
||||
{
|
||||
$query = new NativeQuery($this);
|
||||
|
||||
$query->setSql($sql);
|
||||
$query->setSQL($sql);
|
||||
$query->setResultSetMapping($rsm);
|
||||
|
||||
return $query;
|
||||
|
Loading…
x
Reference in New Issue
Block a user