Bug 59803 - Use jdbc method isValid, when no validation query is given
Summary: Use jdbc method isValid, when no validation query is given
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 3.0
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-05 19:32 UTC by Felix Schumacher
Modified: 2016-07-05 19:46 UTC (History)
0 users



Attachments
Don't set validationquery, when none is given (1.17 KB, patch)
2016-07-05 19:32 UTC, Felix Schumacher
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Schumacher 2016-07-05 19:32:05 UTC
Created attachment 34011 [details]
Don't set validationquery, when none is given

Use the default isValid method from jdbc, when no validation query is given for the jdbc pool.

The patch was discussed shortly in Bug 59363.
Comment 1 Felix Schumacher 2016-07-05 19:46:39 UTC
Date: Tue Jul  5 19:45:30 2016
New Revision: 1751545

URL: http://svn.apache.org/viewvc?rev=1751545&view=rev
Log:
Use isValid() method from jdbc driver, if no validationQuery
is given in JDBC Connection Configuration.

Bugzilla Id: 59803

Modified:
    jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElement.java
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/usermanual/component_reference.xml