Package org.caffinitas.mapper.test.query.tpc

Examples of org.caffinitas.mapper.test.query.tpc.TpcInheritB


            session.insert(inst);
            inst = new TpcInheritA();
            inst.setId(32);
            inst.setVal("two");
            session.insert(inst);
            inst = new TpcInheritB();
            inst.setId(33);
            inst.setVal("three");
            session.insert(inst);
            inst = new TpcInheritB2();
            inst.setId(34);
View Full Code Here


            Assert.assertNotNull(result);
            Assert.assertTrue(result.isEmpty());

            // insert data

            TpcInheritB inst = new TpcInheritB();
            inst.setId(21);
            inst.setVal("one");
            session.insert(inst);
            inst.setId(22);
            inst.setVal("two");
            session.insert(inst);
            inst.setId(23);
            inst.setVal("three");
            session.insert(inst);

            // again

            queryBinder = session.createQueryBinder(TpcInheritB.class, null, "id in :id", null);
View Full Code Here

            session.insert(inst);
            inst = new TpcInheritA();
            inst.setId(42);
            inst.setVal("two");
            session.insert(inst);
            inst = new TpcInheritB();
            inst.setId(43);
            inst.setVal("three");
            session.insert(inst);
            inst = new TpcInheritB2();
            inst.setId(44);
View Full Code Here

TOP

Related Classes of org.caffinitas.mapper.test.query.tpc.TpcInheritB

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.