Fix for entity generator discriminator column
Merge pull request #770 from fulopattila122/master

Fix for entity generator discriminator column
Added indexBy option to createQueryBuilder

Added way to access the underlying QueryBuilder#from() method's 'indexBy' parameter when using EntityRepository#createQueryBuilder()
Merge pull request #771 from caponica/cqb-indexby

Added indexBy option to createQueryBuilder