Examples of QueryResolverException


Examples of org.teiid.api.exception.query.QueryResolverException

    @Test public void testSecondPassFunctionResolving1() {
      try {
        helpResolve("SELECT pm1.g1.e1 FROM pm1.g1 where 1/(e1 - 2) <> 4 "); //$NON-NLS-1$
        fail("expected exception");
      } catch (RuntimeException e) {
        QueryResolverException qre = (QueryResolverException)e.getCause();
        assertEquals("ERR.015.008.0040", qre.getCode());
      }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.