#6001 adding orderBy
, limit
and offset
variables (defined in master
, not in 2.5
)
This commit is contained in:
parent
5e702ad524
commit
3e57c46afd
@ -513,6 +513,9 @@ abstract class AbstractEntityPersister implements CachedEntityPersister
|
||||
*/
|
||||
public function loadCriteria(Criteria $criteria)
|
||||
{
|
||||
$orderBy = $criteria->getOrderings();
|
||||
$limit = $criteria->getMaxResults();
|
||||
$offset = $criteria->getFirstResult();
|
||||
$query = $this->persister->getSelectSQL($criteria);
|
||||
$hash = $this->getHash($query, $criteria, $orderBy, $limit, $offset);
|
||||
$rsm = $this->getResultSetMapping();
|
||||
|
Loading…
x
Reference in New Issue
Block a user