BTW, I pasted the code directly from BMPPersistenceManager.callFinderMethod into CMPPersistenceManager.findEntity, and it works very well, giving nice performance improvement. -----Original Message----- From: Castro, David Sent: Tuesday, February 13, 2001 9:50 AM To: 'jBoss' Subject: Why doesn't CMP findByPrimaryKey lookup on cache? We have code in BMPPersistenceManager to check the instance cache on a find by primary key before hitting the database. (ie. callFinderMethod -> cach.isActive). It seems as though the same code would work wonderfully for CMPPersistenceManager, but I cant find the subject discussed at all. Am I missing something?? -- -------------------------------------------------------------- To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] List Help?: [EMAIL PROTECTED]
