Transactions - HibernateTemplate does not propagate transactions, it is roughly 
equal to the use of autocommit mode in JDBC.



Jim Steinberger <[EMAIL PROTECTED]> wrote: What technical arguments from that 
blog-thread do you find so
compelling?


-----Original Message-----
From: Konstantin Iignatyev [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 03, 2006 2:04 AM
To: Tapestry users
Subject: Re: [tapernate] Session-Per-Conversation...

Spring Hibernate Template is the truly horrible piece of code that 
should be removed from Spring codebase.
Please read the blog 
http://houseofhaug.net/blog/archives/2005/08/12/hibernate-hates-spring/

and check technical arguments, have to filter out emotions though.

Spring Has much nicer and even easier solutions to the Hibernate 
integration which do proper transaction propagation etc.
http://www.onjava.com/pub/a/onjava/2005/05/18/swingxactions.html?page=1
http://sandbox.sourcelabs.com/kosta/hibernate-bhw/java/com/sourcelabs/hi
bernate/bhw/haop/doc/haop.html


Mark wrote:
>
>> And, if you don't join a conversation, you just take part in the
general
>> conversation (which is only request-scoped).  But, this would clutter

>> up the
>> code with these join/end conversation requests.  I'd like to use 
>> annotations
>> for this, but haven't come up with a nice way of doing so.  I might 
>> be able
>> to use an EnhancementWorker to do it.
>>   
>
> Since you use some Spring stuff anyway, how about some Spring-Template

> style solution to this?
> It would really be great if you could figure out a way to keep 
> Tapernate 1.4 compatible (if it's not too late already)...
>
> MARK
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Thanks,

Konstantin Ignatyev

http://www.kgionline.com





PS: If this is a typical day on planet earth, humans will add fifteen
million tons of carbon to the atmosphere, destroy 115 square miles of
tropical rainforest, create seventy-two miles of desert, eliminate
between forty to one hundred species, erode seventy-one million tons of
topsoil, add 2.700 tons of CFCs to the stratosphere, and increase their
population by 263.000

Bowers, C.A.  The Culture of Denial:  
Why the Environmental Movement Needs a Strategy for Reforming
Universities and Public Schools.  
New York:  State University of New York Press, 1997: (4) (5) (p.206)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to