This content has been marked as final.
Show 3 replies
-
1. Re: CMP in servlet and persistence, UserTransaction?
aloubyansky Mar 29, 2004 5:31 AM (in response to alwyn)getPrimaryKey() primary key is handled by client container and not fetching the value from the persistent context. So, the answer is no even for UserTransaction. You need to access some CMP or CMR field to load the data into the cache.
-
2. Re: CMP in servlet and persistence, UserTransaction?
alwyn Mar 29, 2004 8:53 PM (in response to alwyn)Ok.
Do you need to access the CMP field as part as a UserTransaction to ensure
caching or is accessing it enough?
Thanx -
3. Re: CMP in servlet and persistence, UserTransaction?
aloubyansky Mar 30, 2004 1:09 AM (in response to alwyn)Just invoking a get method of a CMP or CMR field would be enough. Assuming standard container with CO A or D.