might want to post your ejb-jar.xml, jboss.xml, standardjboss.xml

Possible issues - do you commit-option C set correctly - ie. in the correct
default config in standardjboss.xml, or in whatever config is selected in
jboss.xml?

What transactional attribute are you using?  even for commit option C load
is only at beginning of transaction, so if these are being called by a
transactional session bean you might see this behavior.

> -----Original Message-----
> From: Timo Fager [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 27, 2001 6:29 AM
> To: [EMAIL PROTECTED]
> Subject: [jBoss-User] Problem with CMP and shared database
> 
> 
> Hello,
> 
> We have a database used by both EJB and several
> non-EJB tools. Problem is, that whenever a getField()
> method of a bean is invoked, the bean writes its data
> back to database. The data may have been changed
> in the database, so the bean should actually read 
> it from there.
> 
> I've tried to experiment with <commit-option>C</commit-option>,
> but to no avail; it simply seems not to change the
> behavior at all. Am I missing some configuration option,
> or is there some way I could avoid this in the bean code?
> Any suggestions are welcome.
> 
> Rgds,
>  
> 
> Timo Fager
> 
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> List Help?:          [EMAIL PROTECTED]
> 





---------------------------------------------------------------------
This message (including any attachments) contains confidential, proprietary
or privileged information intended for a specific purpose and individual(s),
and is protected by law.  If you receive this message in error, please
immediately delete it and all copies of it from your system, destroy any
hard copies of it and notify the sender.  Any unauthorized disclosure,
copying or distribution of any part of this message, or the taking of any
unauthorized action based on it, is strictly prohibited.


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to