* Anders S�e ([EMAIL PROTECTED]) wrote:
> I believe you have stumbled across one of the OJB gotcha's.
> 
> field-descriptor id's should be 1-based, not 0-based, since it is
> internally
> Handled as an index, rather than an ID.
> At least, that was how it was implemented last time I looked.
> It would explain the SQL you see, since "username" is the first field,
> and
> inverse-foreignkey field-id-ref is 1.
> 
> Hope that helps.

This was indeed the problem.
I'm now a happy ojb user :)


Thanks,
Anders

--
Anders Hermansen
YoYo Mobile as

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

Reply via email to