Package org.apache.torque.test.dbobject

Examples of org.apache.torque.test.dbobject.Summarize1


        // Create some test data
        for (int i = 0; i < TEST_GROUPBY1.length; i++)
        {
            for ( int j = 0; j < TEST_GROUPBY2.length; j++ ) {
                Summarize1 rec = new Summarize1();
                rec.setGroupBy1(TEST_GROUPBY1[i]);
                rec.setGroupBy2(TEST_GROUPBY2[j]);
                rec.setType(TEST_GROUPBY1_TYPE[j]);
                rec.setInt1( i+1 * (j+1) );
                rec.setFloat1( (i+1 * (j+1)) / 0.5f );
                rec.save();
            }
        }
    }
View Full Code Here


        Summarize1Peer.doDelete(new Criteria());

        // Create some test data
        for (int i = 0; i < INT_VALUES.length; i++)
        {
            Summarize1 rec = new Summarize1();
            rec.setInt1(INT_VALUES[i] );
            rec.save();
        }

        peer = new BasePeerImpl<Integer>(
                new IntegerMapper(),
                Summarize1Peer.getTableMap(),
View Full Code Here

TOP

Related Classes of org.apache.torque.test.dbobject.Summarize1

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.