Hi there, I am using Doctrine's DBAL as a layer for my own simple ORM and i am very happy with it, most happy with the QueryBuilder.
Once in a while i run into the problem that my entity uses a reserved word as it's name. Till now i've allways renamed it ( after hacking a bit in the dbal code ) but now i would like to solve this issue. So i've changed the getSQLForSelect method in my own QueryBuilder wich extends Doctrine's with a few qouteIdentifiers ( $platform = $this->getConnection()->getDatabasePlatform()->quoteIdentifier($from['alias']); ) but that method is private so that does not work. I could give my getSQLForSelect another name and override the QueryBuilder::getSQL() method, but i wonder if there is a cleaner way of dealing with this problem. Any help is much appreciated! -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
