Hi,
I'm not sure whether the following behaviour is a bug or a misinterpreted
usage of the PB API.
I have a Class A holding a list of Class B objects which is build up over a
indirection table IND_TAB.
Class A:
int id;
Collection bList;
Class B:
int id;
String msg;
IND_TAB:
a_id;
b_id;
String attrib;
The reference descriptor in A is defined as follows:
<collection-descriptor
name="bList"
element-class-ref="B"
indirection-table="TABLE_FOR_IND_TAB"
auto-update="true"
auto-delete="true"
>
<fk-pointing-to-this-class column="a_id"/>
<fk-pointing-to-element-class column="b_id"/>
</collection-descriptor>
The problem: If i load a instance of Class A and save this instance in the
next step, the value of the attribute "attrib" is lost (getting null) in
IND_TAB. It doesn't matter setting auto-update and auto-delete to false.
I'm using the PB API only and OJB 0.9.6 on Win2000, JDK 1.3.1
Is that a bug? Any workarounds?
Thanx for your world and a nice O/R Mapper ;)
bye
Thomas
--
To unsubscribe, e-mail: <mailto:ojb-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>