I think you got me wrong unless this is your reply to the thread. I want
great performance not these multiple wasteful updates within a transaction.
This is the same reason why i do not use bean managed persistence. I cannot
think of a reason for having this feature.
William
> -----Original Message-----
> From: Evan Ireland [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, February 22, 2000 12:20 AM
> To: [EMAIL PROTECTED]
> Subject: Re: trying to come up with a design pattern to solve
> acommonJ2EEproblem
>
> "Louth, William (Exchange)" wrote:
> >
> > Would they really write to the database more often, this seems like a
> real
> > performance overhead. Its bad enough that some containers do not even
> > support tuned writes never mind this. I really cannot imagine a reason
> for
> > this especially since the bean could be updated many times during a
> > transaction with each changes ending up with a sql call.
>
> Anyone who desires this behaviour (with BMP) could always call ejbStore
> at the end of their business methods. I am not aware of anything in the
> spec that prevents this.
>
> > William
> >
> > > -----Original Message-----
> > > From: Stu Halloway [SMTP:[EMAIL PROTECTED]]
> > > Sent: Monday, February 21, 2000 8:07 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: trying to come up with a design pattern to solve
> > > acommonJ2EE problem
> > >
> > > > It won't be in the database because the transaction has not yet
> > > > completed, thus the EJB server has not yet committed the changes.
> (EJB
> > > > users write-at-commit)
> > >
> > > Maybe, maybe not. EJB server can write to the database more often
> than
> > > that. Vendor's option.
> > >
> > > > Changes made to the database are visible immediately in the same
> > > > transaction.
> > >
> > > I believe that this is database-vendor-specific, and might not always
> be
> > > true. (Although it is the behavior I have always seen.)
> > >
> > > Stuart Halloway
> > > DevelopMentor
> > > http://www.develop.com/hp/halloway
> > >
> > >
> ==========================================================================
> > > =
> > > 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".
> >
> > ***********************************************************************
> > Bear Stearns is not responsible for any recommendation, solicitation,
> > offer or agreement or any information about any transaction, customer
> > account or account activity contained in this communication.
> > ***********************************************************************
> >
> >
> ==========================================================================
> =
> > 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".
>
> --
> __________________________________________________________________________
> ______
>
> Evan Ireland Sybase EA Server Engineering
> [EMAIL PROTECTED]
> Wellington - New Zealand +64 4
> 934-5856
>
> ==========================================================================
> =
> 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".
***********************************************************************
Bear Stearns is not responsible for any recommendation, solicitation,
offer or agreement or any information about any transaction, customer
account or account activity contained in this communication.
***********************************************************************
===========================================================================
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".