I am trying to enable validate pooled connection checkbox for a datasource using deployment api.
AttributeList preTestConnections = new AttributeList();
preTestConnections.add(new Attribute("name", "preTestConnections"));
preTestConnections.add(new Attribute("type", "java.lang.Boolean"));
preTestConnections.add(new Attribute("value", String.valueOf(dsc.isvalidationOnMatchEnbled())));
configService.addElement(session, resourcePropertySet, "resourceProperties", preTestConnections, -1);`
When i do the able the pretestconnection is added to custom properties instead WebSphere Application Server data source properties of datasource.
Please provide the attribute for preTestConnections.