Hi all,

in my application i have an association between 2 objects A and B. i want to
store the items of B in the A table ,  is it possible? how can i do that
with the odmg api, how can i map that in the repository?is it a stupid
question?

Sample :
class A {
    int id
    B firstB;
    B secondB
}
class B {
    string string1;
    string string2;
}

create table A(id int primary key not null, firstB_string1 varchar(20),
firstB_string2 varchar(20),secondB_string1 varchar(20),secondB_string2
varchar(20))

thank

Remi


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

Reply via email to