[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 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827860#3827860;View 
the original post/a

a 
href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3827860Reply 
to the post/a


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3828008


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[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 : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3828030


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user