src/main/java/org/docksidestage/derby/dbflute/cbean/cq/MemberCQ.java
/**
     * Arrange the query for selecting service members.
     * o starts 'S'
     * o status 'Formalized'
     * o exists the special product
     */
Arrange the query for selecting service members.
o starts 'S'
o status 'Formalized'
o exists the special product
Arrange the query for selecting service members . o starts ' S ' o status ' Formalized ' o exists the special product
public void arrangeServiceMember() {
        final Integer specialProductId = 3;
        setMemberName_LikeSearch("S", op -> op.likePrefix());
        setMemberStatusCode_Equal_Formalized();
        existsPurchase(new SubQuery<PurchaseCB>() {
            public void query(PurchaseCB subCB) {
                subCB.query().setProductId_Equal(specialProductId);
            }
        });
    }
public void arrangeServiceMember ( ) { final Integer specialProductId = 3 ; setMemberName_LikeSearch ( "S" , op -> op . likePrefix ( ) ) ; setMemberStatusCode_Equal_Formalized ( ) ; existsPurchase ( new SubQuery < PurchaseCB > ( ) { public void query ( PurchaseCB subCB ) { subCB . query ( ) . setProductId_Equal ( specialProductId ) ; } } ) ; }
Arrange the query for selecting service members.
Arrange the query for selecting service members .