[JBoss-user] [Persistence CMP/JBoss] - Re: CMP in servlet and persistence, UserTransaction?

2004-03-29 Thread loubyansky
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. a

[JBoss-user] [Persistence CMP/JBoss] - Re: CMP in servlet and persistence, UserTransaction?

2004-03-29 Thread alwyn
Ok. Do you need to access the CMP field as part as a UserTransaction to ensure caching or is accessing it enough? Thanx View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3828008#3828008 Reply to the post :

[JBoss-user] [Persistence CMP/JBoss] - Re: CMP in servlet and persistence, UserTransaction?

2004-03-29 Thread loubyansky
Just invoking a get method of a CMP or CMR field would be enough. Assuming standard container with CO A or D. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3828030#3828030 Reply to the post :