-
1. Re: disabling autocommit for Oracle (non-XA) datasource
dward2 Jan 6, 2003 12:11 PM (in response to kshuk)How did you resolve this? Thanks.
-
2. Re: disabling autocommit for Oracle (non-XA) datasource
davidjencks Jan 6, 2003 11:08 PM (in response to kshuk)Using jta transactions, and local or xa jca-jdbc wrappers, autocommit is in fact off whenever you are in a jta transaction. Most versions of jboss do not report this correctly from "getAutocommit" since I didn't read the spec very carefully.
The jca spec indicates that autocommit behavior is required when you are outside a managed transaction and don't explicitly control a app-managed local transaction. However, I'm starting to think perhaps we should include a configuration flag for this, since the jca spec is really talking only about cci connection factories rather than jdbc DataSources. Any other thoughts? -
3. Re: disabling autocommit for Oracle (non-XA) datasource
dward2 Jan 9, 2003 10:12 AM (in response to kshuk)Actually, I don't think it is off. My proof is not in what gets returned by "getAutocommit," but the fact that *Oracle* complains that it's not off when I'm doing certain LOB operations.