Re: autocommit override
Posted by: John McGowan
Date: April 01, 2005 02:20PM

Mark Matthews wrote:
> Not really, they only have an effect on what data
> the current transaction can 'see'. It has nothing
> to do with what data will get stored/saved.

So are you saying that my initial concerns about the example I mentioned above are valid. If autocommit is set to false, and neither the app server nor the application are calling commit that there is a poential for loss of data, due to a connection failure and a rollback? Regardless of what isolation level is set?

> If your appserver isn't committing at the end of a
> transaction, that's either a bug, or your
> application should be doing it (depending on
> whether you're using something like JTA/EJB or
> rolling your own persistence).

This is not in a pure java environment. It's a proprietary application server that has Java hooks to allow for JDBC data sources.

I know this has gotten off topic of Connector J... I appreciate your help.


> -Mark

Options: ReplyQuote

Written By
April 01, 2005 09:53AM
April 01, 2005 10:29AM
April 01, 2005 11:31AM
April 01, 2005 11:47AM
April 01, 2005 11:57AM
Re: autocommit override
April 01, 2005 02:20PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.