Hello, sorry to bother you again, but I still got no reply to my question, so I would like to ask it again.
In short: Is is intended that a null-reference is wrapped by a proxy? It is unconvenient for several reasons. It particular, proxies are not as transparent as they could be. Thank you for your help, Olli > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 28, 2003 9:27 AM > To: [EMAIL PROTECTED] > Subject: Null references and proxies > > > Hello, > > I have observed the following behaviour in OJB 0.9.9 and just > wanted to verify that it is intended this way. > > I have classes A and B, and A references B. (The primary key > of B is of type > long, which is mapped to jdbc type NUMERIC.) > > When I retrieve an A instance from the database and the > respective foreign key column has as 0 in it, > the B reference is null. So far, everything is great. > > But when I configure class B (or, alternatively the > B-reference inside A) > as dyamic proxy, the reference is not null, but rather a > dynamic proxy that references a null. > > Is that intended? It is a bit unconvenient. > > Oliver > > -- > Dr. Oliver Matz > ppi Media GmbH > Deliusstraße 10 > D-24114 Kiel > phone +49 (0) 43 1-53 53-422 > fax +49 (0) 43 1-53 53-2 22 > email mailto:[EMAIL PROTECTED] > web www.ppi.de > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]