Question

Im using ZF2 with DoctrineModule and DoctrineORMModule.

Problem: I got some Tablenames in my Database that are equal to MYSQL Commands Doctrine generates Tablenames in SQL Statements without the "`"'s

SELECT ... FROM references

But I want it to be like this Format

SELECT ... FROM `references`

to be safe..

How to Fix it in Doctrine 1 to fix my Problem I had done this: http://i.stack.imgur.com/UN5KB.png

(link: http://www.doctrine-project.org/documentation/manual/1_0/fr/configuration:naming-convention-attributes:table-name-format)

I do not find any Fix for this Problem in Doctrine2. Thanks for helping.

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top