From cd36407f28691dba06bcc6864d8d9c3b567d6cbc Mon Sep 17 00:00:00 2001 From: Tony Nelson Date: Tue, 5 Jul 2016 12:48:00 -0500 Subject: [PATCH] Update EntityManager.php --- lib/Doctrine/ORM/EntityManager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Doctrine/ORM/EntityManager.php b/lib/Doctrine/ORM/EntityManager.php index 7a2e378fb..4de4932bc 100644 --- a/lib/Doctrine/ORM/EntityManager.php +++ b/lib/Doctrine/ORM/EntityManager.php @@ -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;