Code example for Oracle10gDialect

0
    @Before 
    public void setUp() throws Exceptionvalidator = new IndexColumnsValidator();
        validationResults = new Results();
        ctx = new DiffContext(new Oracle10gDialect(), validationResults, null, null);
    } 
 
    @Test
    public void testNonIndex() 
    { 
        validator.setPattern(Pattern.compile("SYS_NC.+"));
        assertEquals("SYS_NC.+", validator.getPattern().toString());
         
        try 
        { 
            validator.validate(null, new Table("SYS_NC234234"), ctx);
            fail("Validator should faile for non-index object"); 
        } 
        catch (AlfrescoRuntimeException e)