The following bug

Bug 42018 - JDBC Sampler always commits:
http://issues.apache.org/bugzilla/show_bug.cgi?id=42018

suggests using Java or Apache DBCP Pooling.

However, given that JMeter threads are intended to represent
independent users, why should there be any database pooling at all?

Would it not be better to create one connnection for each poolname in a thread?

Having independent connections per thread would potentially allow a
transaction to be opened in one sampler and closed in another.

Are there any use cases where it makes sense to share connections
between different threads?

If not, I think the pooling code should be removed.

S///

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

Reply via email to