English 中文(简体)
理论2:
原标题:Doctrine 2: XML-mapping superclass

我需要我的所有实体扩大一个不是一流 map的抽象类别。 手册是完全可能的,但我不知道在自动生产课堂时如何做到这一点。 在这种情况下,使用xml-mapping的Im是适用于所有绘图类型。 我的唯一选择是:

<entity ...
</entity>

and

<mapped-superclass ...
</mapped-superclass>

我可以界定一个正常类别,或界定一个实体应延长的等级。

我也已经看过TABLE_PER_CLASS的继承类型,但这一功能没有得到执行。 Don t知道将来是否会执行。

问题回答

暂无回答




相关问题
Subclass check, is operator or enum check

A couple of friends was discussing the use of inheritance and how to check if a subclass is of a specific type and we decided to post it here on Stack. The debate was about if you should implement a ...

C++ Class Inheritance problem

Hi I have two classes, one called Instruction, one called LDI which inherits from instruction class. class Instruction{ protected: string name; int value; public: Instruction(string ...

Overloading a method in a subclass in C++

Suppose I have some code like this: class Base { public: virtual int Foo(int) = 0; }; class Derived : public Base { public: int Foo(int); virtual double Foo(double) = 0; }; ...

Embedding instead of inheritance in Go

What is your opinion of this design decision? What advantages does it have and what disadvantages? Links: Embedding description

Extending Flex FileReference class to contain another property

I want to extend the FileReference class of Flex to contain a custom property. I want to do this because AS3 doesn t let me pass arguments to functions through event listeners, which makes me feel sad,...

Interface Inheritance in C++

I have the following class structure: class InterfaceA { virtual void methodA =0; } class ClassA : public InterfaceA { void methodA(); } class InterfaceB : public InterfaceA { virtual ...

热门标签