On Aug 24, 2007, at 11:23 AM, Vic Simkus wrote:

> Hello
>
> Sorry for the duplicate if it has been asked before, but I could find
> anything conclusive...
>
> How do I turn off transaction autocommits in Resin?  I'm running Resin
> 3.1.2 against a PosgreSQL database.

In what kind of environment?

If you're just using a JDBC connection from a DataSource, call  
conn.setAutoCommit(false).

-- Scott

>
> Thanks
>
> -- 
> Vic Simkus
>
> Center for Stroke Research
> Department of Neurology and Rehabilitation
> 1645 West Jackson, Suite 400
> Chicago, Illinois 60612
>
> "There is no way to rule innocent men. The only power government  
> has is the power to crack down on criminals. When there aren't  
> enough criminals, one makes them. One declares so many things to be  
> a crime that it becomes impossible for men to live without breaking  
> laws."
> --Ayn Rand
>
>
>
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to