db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Re: Transactions and saving - problems with commit
Date Thu, 18 Sep 2003 16:07:21 GMT
Graham Leggett wrote:

>> conn = Transaction.beginOptional("yourb DB name", true);
>>
>> // then save with the conn object
>> contact.save(conn );
>> company.setContact(contact);
>> company.save(conn );

Oops - ignore me - I had specified contact.save() instead of 
contact.save(conn), which caused the problem, which was hidden amongst 
some other save(conn)'s that were specified correctly...

By bad :(

Regards,
Graham
-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight..."


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message