Alain Pilon wrote:

I would like to know how Torque manage connections. I know that I can change
the connection pool but so far, I want to stay with the one provided. So
here is my question: Does Torque uses a distinct connection every time I use
the .save() methode or he waits a moment to see if there are more requests
comming before executing the connection?

I am writing some TestCase right now where I have to insert about 10 record
in a table. They all have the same inserted date. Unless I am mistaken, the
only possible way that they all have the same value is if they are inserted
at the exact same time with the same connection, right?


See the answer to question 10 in the Torque FAQ:
http://wiki.apache.org/db-torque/FrequentlyAskedQuestions#head-f21b65aabdf5f90c9f5df248411b7de3aab118b7

Scott

--
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to