[JBoss-user] CMP database updates

2001-05-26 Thread Chris DeGreef
I am quite new to CMP. I am wondering why the database is being updated so often. Even when I am only (implicitly) retrieving rows. The most obvious case is when I issue a call to the home instance like findByName. Everything appears to be working correctly unless I set the database debug

[JBoss-user] Readonly Methods ?

2001-05-26 Thread Chris DeGreef
How do I make the getter methods in my CMP bean be readonly? Apparently ejbStore is called when I call a get.. method. A sample log4j output with log.debug statements in every method in my CMP bean. 1043 [Thread-28] DEBUG SchoolDataBean uhtuve8ku1 - ejbActivate 1047 [Thread-28] DEBUG