Thomas Dudziak wrote:

I think the error comes from the XDoclet module, not from Torque.
The problem is that you should not redefine the field in the subclass

I haven't redefined it in the java code, so you think it should not appear in the repository xml for the subclass?

The usual pattern is to define the field in the base class, and
initialize it either directly on in the constructor, like so:

private String ojbConcreteClass = getClass();

OK, initialization is done in a similar way in the constructor. Everything works fine with OJB and our code. As we wanted to migrate to a different data base vendor, I tried Torque to generate the required sql. It already worked some time ago, but changes to the database required different classes mapped to one table then.

I will try to patch the generated repository xml manually...

Bernd

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to