I am upgrading my ORM from Doctrine 1.2
to Doctrine 2.3.3
. In the previous version we used to generate models and use them to interact with specific tables. But in the latter versions we write the docblock annotations.
I have written a docblock annotation that corresponds to my table in database and placing it inside Doctrine\Common\Annotations
. But it seems that isnt working as the object of the annotation class is not getting recognized.
So where do i place the docblock files or what extra i do have to take for my doctrine to run properly?