Bug 6897: Adding getSubstatementValidator() method to AbstractStatementSupport