I was able to extends Doctrine 2 configuration file in order to add some specifics attributes we need on entities but the problem is that these new attributes are exported in our php files as annotations.
In fact I just need these attributes to be stored in the XML but not to be exported, is there an option for that ?