groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J. David Beutel" <>
Subject Re: Sql cacheConnection/withTransaction always closes connection
Date Fri, 11 Dec 2015 00:40:26 GMT
On 2015-12-09 22:22 , Alexander Holand Salgado wrote:
> Thanks for confirming my suspicion. Yes, nested withTransaction would 
> not provide the results you might first think you'd get and should 
> probably not be allowed. But, I'm still thinking that its worth 
> looking at supporting nesting withTransaction within a cacheConnection 
> as this should be fine - but that might be something for the dev 
> mailinglist.(?) 

Alternately, Grails manages connections and nested transactions (using 
Spring), but that's on a higher level than groovy.sql.Sql.


View raw message