New information:

Field descriptor indexes can begin with "0" (there's no complaints)
but if I put a reference-descriptor with a foreign-key id = "6",
OJB gets the bean for the previous field-id (as it starts counting with
"1").


Ricardo.




-----Mensaje original-----
De: Ricardo Tercero Lozano [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 03 de marzo de 2003 18:24
Para: [EMAIL PROTECTED]
Asunto: repository_user.xml, reverse-db and field indexes



I found than if list of field descriptors inside a class descriptor in
repository_user.xml
don't work properly if field indexes begin with "0" (as generated by
reverse-db) and
reference descriptors are defined for some fields. Key values were loaded
right, but
some associated beans are loaded and some not.

This behavior was found for a table with 4 references to another table (4
types of users of
class UserBean). I use OJB 0.9.9.

Ricardo.


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


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

Reply via email to