I've had this exact same problem (with the same database). Is this intended functionality?
-Clay su baochen wrote: > hi, > > I am using ojb 1.0 rc4, but have a problem when get a collecction from > the database(postgresql 7.3). when I call: > > broker.beginTransaction(); > Collection allProducts = broker.getCollectionByQuery(query); > broker.commitTransaction(); > > The first time is correct, but wrong with the following operations, > always return the old collection. > > So I modify OJB.properties, using ObjectCacheEmptyImpl instead of > ObjectCacheDefaultImpl, then everything is ok. > > So, is there something wrong with OjbCacheDefaultImpl or my configuration? > > BTW, I have set autoCommit="0" in repository_database.xml, I think > autoCommit is not very good in some situations? > > Thanks for your any hints and help! > > linuxman > > _________________________________________________________________ > 免费下载 MSN Explorer: http://explorer.msn.com/lccn/ > > --------------------------------------------------------------------- > 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]