hi,

I have a doubt here, On one hand you dont want to update Db till Tx ends,
while you also want to flush the data to db(ie update it in db) , Isnt
contradictory,




                    Dongmei Cao
                    <[EMAIL PROTECTED]        To:     [EMAIL PROTECTED]
                    NUM.COM>                 cc:     (bcc: ashwani.kalra/Polaris)
                    Sent by: A               Subject:     Flush caching in the middle 
of transaction
                    mailing list for
                    Enterprise
                    JavaBeans
                    development
                    <[EMAIL PROTECTED]
                    A.SUN.COM>


                    06/17/2003 12:37
                    AM
                    Please respond to
                    Dongmei Cao







Hi,

I have a question, which is somewhat WebLogic 7 specific. If anyone
has any suggestions, it is highly appriciated!

I have a transaction. In the first half, I use CMP beans to insert/update
data to database. After all the data are inserted/updated, I use SQL
directly to make a copy of the data. The problem I noticed is that some of
the
data are not copied. I think what is going on is that the update happened
at the end of the transaction so that the the SQL copy couldn't pick
up some of the data. I have  the "delay-updates-until-end-of-tx" set to
true.
I can not really set it to false becuase it's going to cause lots of
other problems. My question is that whether there is a way to
flush the cached data into database manually.

Thanks,
Dongmei Cao

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".





This e-Mail may contain proprietary and confidential information and is sent for the 
intended recipient(s) only.
If by an addressing or transmission error this mail has been misdirected to you, you 
are requested to delete this mail immediately.
You are also hereby notified that any use, any form of reproduction, dissemination, 
copying, disclosure, modification,
distribution and/or publication of this e-mail message, contents or its attachment 
other than by its intended recipient/s is strictly prohibited.

Visit Us at http://www.polaris.co.in

Reply via email to