在Doctrine 2.3.3中放置docblock注释的位置

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?

No matter where you place your annotations, Doctrine is not programmed to recognise them. It only knows how to deal with its own annotations.