adding custom associations to metadata
I have a database and i generate entities using DisconnectedClassMetadataFactory and EntityGenerator. Indeed, 开发者_JS百科metadata driver do not create associations, because column names in db are not well named (basically, it's id_ as primary id and a reference in other tables). How can I change behavior of metadata factory or treat metadata info after to add those associations?
精彩评论