The way below works correctly:
$qb->select('partial t.{id,nsu,status,message}, partial u.{id,shortName,email} as user')
->from('GatewayBundle:Transaction', 't')
->join('GatewayBundle:User', 'u')
->where('u.id = t.user');...
asked by
16.06.2014 / 19:40