Doctrine 2 - ORM

[GH-505] Fix errors in JoinClassPathExpression and SqlWalker