Package com.mysema.query

Source Code of com.mysema.query.SelectTeradataBase

package com.mysema.query;

import static com.mysema.query.Constants.survey;
import static com.mysema.query.Target.TERADATA;

import org.junit.Test;

import com.mysema.query.sql.teradata.SetQueryBandClause;
import com.mysema.testutil.IncludeIn;

public class SelectTeradataBase extends AbstractBaseTest {


    protected SetQueryBandClause setQueryBand() {
        return new SetQueryBandClause(connection, configuration);
    }

    @Test
    @IncludeIn(TERADATA)
    public void SetQueryBand_ForSession() {
        setQueryBand().set("a", "bb").forSession().execute();
        query().from(survey).list(survey.id);
    }

    @Test
    @IncludeIn(TERADATA)
    public void SetQueryBand_ForTransaction() {
        setQueryBand().set("a", "bb").forTransaction().execute();
        query().from(survey).list(survey.id);
    }

}
TOP

Related Classes of com.mysema.query.SelectTeradataBase

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.