Nouguier Olivier wrote:
Hi all, and sorry for the wait ( my child needed a long story to sleep )
no problem, there are things that are more important than work :-)
I was wondering: why do you have include-inherited='false'? You should be able to achieve what you want with @ojb.modify-inherited like this:
package com.amdm.ojbdemo.model;
/**
* @ojb.class table = "salaries"
* @ojb.reference class-ref="com.amdm.ojbdemo.model.Person"
* foreignkey="id"
* @ojb.modify-inherited name="lastname"
* ignore="true"
* @ojb.modify-inherited name="firstname"
* ignore="true"
*/
public class Salary extends Person {
/** @ojb.field */
private double income;... }
Leave the Person class as it is (esp. determine-extents='false') and you should be fine.
Tom
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
