elhar, Wallace J. wrote:

>Frank,
>
>As stated in another email, the cache uses weak references.  This means
>that if you create the object, release your reference (At this point is
>it fair game for garbage collection).  \Then subsequently load the
>object, OJB will check the cache and if not present will load from the
>DB and create a new object with the same OID (and obviously data
>values).  I am not an expert, but I believe it's always a good idea to
>overload .equals on your business objects anyways for comparison in your
>applications.
>  
>
I'm talking about an IMMEDATE load write after creating, and while 
holding the original object still.  This was something I noticed while 
debugging a problem in some test code.



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

Reply via email to