baseclass.php
---------------------------------------------------------
/**
*
* @MappedSuperclass
*
*/
class Baseclass {
// code
}
aclass.php
----------------------------------------------------------
/**
* @Entity @Table(name="something")
*/
class Aclass extends Baseclass{
// code
}
Yukarıdaki bu kod ile, ben yürütmek çalıştığınızda
doktrin şema aracı: oluşturmak
I get BaseClass not found error, but when I change the name of the Aclass name to Dclass (alphabetically after BaseClass ) everything works fine. I remember seeing some bug report somewhere that says, it's something to do with alphabetical order, but I can not find that report and I wonder if there is a solution for this problem? I use doctrine 2.0 stable by the way.