Hello Edson,

your reply is not very helpful, but anyway, good for you if that 1 sec
approach works for you.
Turn the cache (EmptyImpl) of and you'll see that some OJB testcases won't
run as expected.

Regards
Lasse








|---------+------------------------------------->
|         |           "Edson Carlos Ericksson   |
|         |           Richter"                  |
|         |           <[EMAIL PROTECTED]|
|         |           ica.com.br>               |
|         |                                     |
|         |           29.01.04 17:20            |
|         |           Bitte antworten an "OJB   |
|         |           Users List"               |
|         |                                     |
|---------+------------------------------------->
  
>-------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                           |
  |        An:      "OJB Users List" <[EMAIL PROTECTED]>                               
                                      |
  |        Kopie:                                                                      
                                           |
  |        Thema:   Re: ObjectCacheEmptyImpl.java                                      
                                           |
  
>-------------------------------------------------------------------------------------------------------------------------------|



Well, it's boring get beginners programmers around me sayind "hey, OJB
doesn't work!!!", and all times I need to tell them that is just because
they are making a bad modelling desing making two-way navigational
references in all objects (kidding)...

I think it's not an priority, because it can be deal with
per-class-descriptor way. In the specific classes the problem occur, I make
a very-really-short object-cache (something like 1000ms solved at all).

I'm just thinking about using a ObjectCache with 1 sec. as default to all
classes, and set Empty only when strictly necessary. But it could be done
only after june, where our app will be completelly stabilized

Thanks,

Edson Richter


  ----- Original Message -----
  From: Armin Waibel
  To: OJB Users List
  Sent: Thursday, January 29, 2004 2:11 PM
  Subject: Re: ObjectCacheEmptyImpl.java


  Hi Lasse,

  [EMAIL PROTECTED] wrote:
  > Hi,
  >
  > while running the OJB testcases I got a lot of circular problems when
using
  > the ObjectCacheEmptyImpl (no Cache).
  > I'm using RC5 and saw, that the class is empty. Unlike in RC4 where
there
  > is code in this class. I checked the CVS and since version 1.9 it's
empty.
  > Whats the reason for this and are there any recommendations how to
handle
  > circular references in a non-cached environment?

  You can use ObjectCachePerBrokerImpl. This class is similar to the old
  version of ObjectCacheEmptyImpl, but only clear cache on PB.close and
  PB.rollback.

  I removed support for cicular references in ObjectCacheEmptyImpl,
  because all docs said that this class is a really noop-impl and does not
  support circular references.

  Should I add support for cicular references again to this class?

  regards,
  Armin

  >
  > Regards
  > Lasse
  > ___
  >
  >
  >> Lasse Lambrecht
  >> Allianz Lebensversicherungs-AG
  >> IS-LF1 K6, Produktdatenbank
  >> +49 711 663 5412  #  1021-5412
  >
  >
  >
  >
  >
  >
  > ---------------------------------------------------------------------
  > To unsubscribe, e-mail: [EMAIL PROTECTED]
  > For additional commands, e-mail: [EMAIL PROTECTED]
  >
  >
  >



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



  ---
  Outgoing mail is certified Virus Free.
  Checked by AVG anti-virus system (http://www.grisoft.com).
  Version: 6.0.574 / Virus Database: 364 - Release Date: 29/1/2004





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

Reply via email to