Re: DB_DataObject MySQL TRANSACTION ISOLATION LEVEL

From: Date: Tue, 29 Jun 2004 07:47:33 +0000
Subject: Re: DB_DataObject MySQL TRANSACTION ISOLATION LEVEL
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13399@lists.php.net to get a copy of this message
I think you missed out the result from print_r you could try $project->query('READ COMMITTED'); it should work the same. Regards Alan John Zhao wrote:
I wish to implement an unit of work with "select update". How can I set TRANSACTION ISOLATION LEVEL to "READ COMMITTED". here are my code, but got database error as the following. Please help. Thanks!! $project = new DataObjects_Project; $conn = $project->getDatabaseConnection(); $res_read = $conn->query("READ COMMITTED"); print_r($res_read);
-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com

« previous php.pear.general (#13399) next »