Package org.milyn.routing.db

Examples of org.milyn.routing.db.ResultsetRowSelector


* @author <a href="mailto:tom.fennelly@jboss.com">tom.fennelly@jboss.com</a>
*/
public class MILYN_345_Test extends TestCase {

    public void test_where() {
        ResultsetRowSelector selector = new ResultsetRowSelector();

        selector.setWhereClause("a == b");
        assertFalse(selector.consumes("x"));
        assertTrue(selector.consumes("b"));
    }
View Full Code Here


        assertFalse(selector.consumes("x"));
        assertTrue(selector.consumes("b"));
    }

    public void test_failError() {
        ResultsetRowSelector selector = new ResultsetRowSelector();

        selector.setFailedSelectError("this is an error on ${productId}");
        assertFalse(selector.consumes("zzzzzzzzzz"));
        assertTrue(selector.consumes("productId"));
    }
View Full Code Here

TOP

Related Classes of org.milyn.routing.db.ResultsetRowSelector

Copyright © 2018 www.massapicom. 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.