On Sun, Apr 09, 2006 at 09:57:57AM -0700, Eric Hawthorne wrote:
> voter = Voter.get(someId)
> ...
> hub.begin() <-- supposed to start a transaction
>
> ballot = Ballot(district.id, encryptedAnswers)
> voter.hasVoted = True
>
> hub.commit()
> hub.end()
>
> So how could it happen that the database examined after this
> shows that the ballot row has been created but that the
> voter.has_voted has value 0 (i.e. False). That's what
> happened. This is very bad.
Can you write a short test program, so I can run it with SQLite and
Postgres?
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss