This is per-spec. According to the diagrams in section 9.5 of the 1.1
spec, ejbStore must be called by the container at before the transaction
commits (the diagram shows it in response to the transaction manager's
'beforeCompletion' call).


[EMAIL PROTECTED] wrote:
> 
> I'm using the latest CVS snapshot...
> 
> For testing, I have a JSP that calls a findAll method on a CMP entity
> bean.  (This will later be moved to a facade pattern for performance)
>  As each object is iterated through, a 'getBulkAccessor' method is
> executed on the entity (it puts together a 'scratchpad' class to hand
> the variables back to the webpage).  The JSP then prints the contents
> of the bulk accessor class.  To track edits in the entities, I have
> added code to ejbStore that updates a 'lastEdited' field with a
> java.sql.Timestamp.  I've noticed that everytime I run this page, that
> ejbStore is getting called (I tested by having it print out to the
> conole whenever it was called), thus the database is getting updated
> everytime I attempt to list the contents.  Can this possibly be the
> correct behavior?
> 
> -Jason


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

Reply via email to