I don't see the point of using Doctrine without entities.
If your database is really old (40 years old, omg !), you should use a DB abstract layer / framework such as Zend DB (sorry you're using ZF2) or Aura (http://auraphp.com/framework/1.x/en/sql/).
But if you really want to use Doctrine, you should create entities manually, and use magic setters - getters to handle special fields and access / hydrate your entities.
EDIT
Imagine your DB with a table Clients
and 2 fields : id
and name#1
class Client
{
protected $id;
protected $name1;
public function __set()
{
// here you can set unknown properties
// remove '#' e.g ...
}
public function setName1($name1)
{
$this->name1 = $name1;
return $this;
}
public function getName1()
{
return $this->name1;
}
// ... other accessors
}
Usage :
$results = clients_query_result ...
$hydrator = new ClassMethods();
$clients = [];
foreach ($results as $result)
{
$client = new Client();
$clients[] = $hydrator->hydrate($result, $client);
}
// that's it, now you have a collection of Client objects