This content has been marked as final.
Show 3 replies
-
1. Re: One CMP for one table?
gateway87 Dec 12, 2002 4:35 AM (in response to chris.chen)I think so if you want to use CMP to process your data.
-
-
3. Re: One CMP for one table?
kennyl Dec 13, 2002 8:24 AM (in response to chris.chen)One thing to watch out for.
If you decide to access a table through CMP/BMP, be careful if you also modify the same table through other database object (e.g. Package stored procedure ... etc.)
If EJB container already cash a record as CMP in cache, and then you separately modify the same record outside EJB container framework (e.g. direct database update). Next time, you access the EJB of the same record, EJB might give you the old record already in cache, and the underlying persistence to changes might not be maintained.