I'm using doctrine 2.4 and I try to migrate to annotations with namespace

I have error "You do not have any mapped Doctrine ORM entities according to 
the current configuration" when I have tried to declare annotations with 
@OEM prefix, like this:
use Doctrine\ORM\Mapping AS ORM;
/**
 * @ORM\Table(name="accounts")
 * @ORM\Entity
 */
class Account {
}



But no error when I declare like this:
/**
 * @Table(name="accounts")
 * @Entity
 */
class Account {
}

So, what's wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to