|
[jruby-user] Unit test rollback and autocommit on sqlserver 2005: msg#00188lang.jruby.user
I'm using jruby and activerecord-jdbc with sql server 2005. When I try to run a basic test_truth test case I get "java.sql.SQLException: rollback() should not be called while in auto-commit-mode." I've tried to execute "set auto commit off" or "set auto-commit = 0" or "set autocommit = 0" in the test setup but it doesn't seem to make a difference. Any help? Transactions work perfectly fine within the application itself. Thanks. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [jruby-user] how to load/require compiled script: 00188, Peter Brant |
|---|---|
| Next by Date: | [jruby-user] JRuby array to Java array: 00188, tsuraan |
| Previous by Thread: | [jruby-user] Running watir on jrubyi: 00188, Ricardo Trindade |
| Next by Thread: | Re: [jruby-user] Unit test rollback and autocommit on sqlserver 2005: 00188, Nick Sieger |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |