Hello
Now that the Witango engine is fully threaded, I'm wondering if this
is going to mess up any taf's that use a direct DBMS statement to
fetch the primary key of a record that was just inserted? In Tango
2000, this worked OK, if you had tables with sequences on the primary
key:
- insert a record with an insert action
- using direct DBMS, execute something like: "SELECT last_insert_id()"
However, can the following occur in Witango 5?
- thread #1 inserts a record that is assigned primary key of 1
- thread #2 inserts a record that is assigned primary key of 2 (and
because of ODBC connection pooling, this thread is using the exact
same ODBC connection that thread #1 did)
- thread #1 selects "last_insert_id()" and gets a value of "2"
- thread #2 selects "last_insert_id()" and gets a value of "2"
Can that happen? Or is there something that I'm missing from the big
picture that stops this from happening?
Thanks,
Todd
--------------------------------------------------------------
Todd Trann, B.S.E.E., B.Sc. [EMAIL PROTECTED]
Programmer / Analyst ph (306) 966-2610
Student & Enrolment Services fax (306) 966-5092
University Of Saskatchewan http://www.usask.ca/sas/
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
with unsubscribe witango-talk in the message body
- Witango-Talk: T3 tcp/ip db connection (licensing iss... Garth Penglase
- RE: Witango-Talk: T3 tcp/ip db connection (lice... Steve Smith
- RE: Witango-Talk: T3 tcp/ip db connection (... Garth Penglase
- RE: Witango-Talk: T3 tcp/ip db connecti... Steve Smith
- RE: Witango-Talk: T3 tcp/ip db conn... Garth Penglase
- RE: Witango-Talk: T3 tcp/ip db... Garth Penglase
- Witango-Talk: Tango-based ... Nicholas Froome
- Re: Witango-Talk: Tang... Jon van der Raadt
- Witango-Talk: Gauthier... Scott Cadillac
- RE: Witango-Talk: T3 tcp/ip db connection (... Garth Penglase
- RE: Witango-Talk: T3 tcp/ip db connection (lice... Todd Trann
- RE: Witango-Talk: T3 tcp/ip db connection (lice... Bill Conlon
- RE: Witango-Talk: T3 tcp/ip db connection (... Garth Penglase
- RE: Witango-Talk: T3 tcp/ip db connecti... Steve Smith
- Witango-Talk: Witango/Primebase/OSX Mark Weiss Vancouver
- Witango-Talk: Closing a browser window with... rich Jasinski
- Re: Witango-Talk: Closing a browser win... Atrix Wolfe
- Witango-Talk: String Length Web Dude
- RE: Witango-Talk: Closing a browser win... Ben Johansen
- Re: Witango-Talk: Closing a browser... Atrix Wolfe
- RE: Witango-Talk: Closing a br... Ben Johansen
