Maybe it's the problem - I declared them (pk, ojbConcreteClass) in the
abstract class and referenced the interface.


This could also explain the error about the different number of PKs vs. FKs.
As a general rule, every class that is referenced by a persistent reference must have a pk declared in the repository metadata (bean properties if you're using interfaces), and ojbConcreteClass if you're mapping to the same table. And for collections, you also need the inverse-foreignkey field.


I'll debug the xdoclet module with your code later today to see whether there are problems in it.

Btw, I did not say that you have to update to 1.0 in order to make your program work. In fact, the xdoclet module is not really dependant upon the OJB core, or vice versa. I only suggested that if you want to update you should wait until the 1.0 final is out, though in your case the rc6 should also work.

Tom


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



Reply via email to