jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry Sherstobitov <>
Subject Hardcoded setEnableAutoCommitOnReturn=false
Date Mon, 16 Dec 2019 18:31:11 GMT
Hi, Community,

I'm facing problem while I'm testing Derby DB - when 2 connection used
(first with autoCommit=true and other with autoCommit=false) exception
occurs while switching between this 2 connections inside test.

If I comment following code line, everything works fine.


According to PoolableConnectionFactory source code, this option have some
reasons to be have a true as default value. (Because it manages idle
java.sql.SQLException: Cannot create PoolableConnectionFactory (Cannot
close a connection while a transaction is still active.)

Can we create an API to overwrite such hardcoded properties?
Best regards,
Dmitry Sherstobitov

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message