Bug 59803

Summary: Use jdbc method isValid, when no validation query is given
Product: JMeter Reporter: Felix Schumacher <felix.schumacher>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P2    
Version: 3.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Don't set validationquery, when none is given

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