Hello,

I'm trying to map classes on multiple joined tables as described in OJB tutorial.
This is my situation: I have a class A that extends a class B that in turn extends a 
class C that extends a fourth class D. In the classes A, B and C there is an attribute 
referring to the super class's primary key. The referene descriptor look like:

<reference-descriptor name ="super"
     class-ref="pack.B"
     auto-retrieve="true"
     auto-update="true"
     auto-delete="true"
>
<foreignkey field-ref="bid"/>
</reference-descriptor>

my application correctly saves the data on the database, but when querying for read, I 
get a NullPointerException. I don't understand why!!!! Any help would be very 
appreciated.

Best regards,
Ilaria.


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

Reply via email to