Thanks David!  That was exactly the type of response I was seeking and
clears everything up.

-={ Kyle }=-
In somnis veritas


--- "Harkness, David" <[EMAIL PROTECTED]> wrote:

> Kyle Korndoerfer penned
> > Can someone expand upon the meaning of the various ejb.transaction
> > types? I understand what they mean, but am unsure where each of the
> > types applies. The online documentation doesn't expand upon any of
> > them.
> > 
> > For instance, what's the difference between "Required" &
> "Mandatory"?
> > In a literal sense, these would seem to be one-and-the-same, but
> there
> > must be a difference since they are both listed.
> 
> Required will use an existing transaction if present or begin and
> commit/rollback a new one if not.
> 
> Mandatory requires an existing transaction and will not begin its
> own.
> 
> RequiresNew will always begin a new transaction. Note that the
> container
> will suspend the current transaction, if there is one, until this
> method
> completes.
> 
> Supports will use an existing transaction if present but does not
> require one.
> 
> NotSupported will suspend an existing transaction while the method
> executes.
> 
> Never will fail if called within the context of an existing
> transaction.
> 
> To clarify, the difference between Mandatory and Required is what
> happens when the method is called outside the scope of an existing
> transaction. Required will begin a transaction and Mandatory will
> throw
> an exception.
> 
> -- 
> David Harkness                                     Sony Pictures
> Digital
> Senior Software Engineer     310.482.4756    
> [EMAIL PROTECTED]


        
                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to