>   My question is that if i can do explicit connection in CMP bean.

If you do this, you would be well advised to ensure that any data access is
strictly read only, because it will not be able to participate in the
transactional context that is automatically managed for container managed
persistence.

Even if you are so careful, you may find your code exhibiting anomalous
behaviour when it fails to see updates that would otherwise be visible
within the context of the transaction in which the bean is participating.




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]

Reply via email to