Re: mysql connector with connection pool data read problem
Posted by: Mark Matthews
Date: April 26, 2005 10:38AM

Shanth Kumar wrote:
> Hi,
> I am using mysql connector/J in a connection
> with
> a 3 different distruted systems. Sometimes the
> transactions commited
> from on of the system is not visible in another
> syste.
> Have any of you faced this problem and please
> suggest me with a
> suitable solution.
> regards
> shanth


My guess is you're using InnoDB tables, _and_ your connection pool is calling commit() or rollback() on the connection. Since InnoDB uses REPEATABLE_READ semantics be default, connections that 'started work' before another transaction changes the table won't 'see' that data until commit() or rollback() is called.


Mark Matthews
Consulting Member Technical Staff - MySQL Enterprise Tools

Options: ReplyQuote

Written By
Re: mysql connector with connection pool data read problem
April 26, 2005 10:38AM

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.