Hi Laugusto,
Thanks for letting me know I'm not alone :)
Just curious... I reported two problems...
1) When using numeric wrapper classes OJB tries to
insert nulls in fk's if I don't do a
"retrieveAllReferences()" first.
2)  When I try to do a "retrieveAllReferences()"
first, it complains that the referenced class does not
have an autoincrement field.

Did you get #1, #2 or both?  I'm thinking that #1 and
#2 are unrelated.  In any case, I think #2 might have
something to do with...
org.apache.ojb.broker.util.sequence.SequenceManagerNativeImpl
If you have problem #2, do you use that sequence
manager?  If you don't then doing
"retrieveAllReferences(obj)" might work for you.

BTW:  Adding autoincrement="true" to that problem
class seems to pacify it for now.  However, it does
seem to be a bug, and will probably come back to bite
me in the near future.

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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

Reply via email to