Examples of selectFrom()


Examples of org.jooq.util.maven.example.mysql.Test2Factory.selectFrom()

              .set(T_BOOLEANS.Y_N_UC, BooleanYnUc.N)
              .set(T_BOOLEANS.YES_NO_LC, BooleanYesNoLc.yes)
              .set(T_BOOLEANS.YES_NO_UC, BooleanYesNoUc.NO)
              .execute());

        TBooleansRecord bool = create.selectFrom(T_BOOLEANS).fetchOne();
        assertEquals(1, (int) bool.getId());
        assertEquals(Boolean_10._0, bool.getOneZero());
        assertEquals(BooleanTrueFalseLc.true_, bool.getTrueFalseLc());
        assertEquals(BooleanTrueFalseUc.FALSE, bool.getTrueFalseUc());
        assertEquals(BooleanYnLc.y, bool.getYNLc());
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.