RE: Multiple reads within the same transaction

2003-12-16 Thread Lance Eason
Use ObjectCachePerBrokerImpl as your cache. It'll act as effectively a cache within the single transaction but won't share objects across transactions. -Original Message- From: Luis Cruz [mailto:[EMAIL PROTECTED] Sent: Monday, December 15, 2003 4:22 PM To: OJB Users List Subject: Multipl

Re: Multiple reads within the same transaction

2003-12-15 Thread Armin Waibel
Hi Luis, > My question is why doesn't OJB return the same instance to various reads > of the same object within the same transaction? Because in current version of OJB ObjectCache is the only service used to prevent object materialization from database (by using a Identity to Object mapping). So