Package com.impetus.client.couchdb.entities

Examples of com.impetus.client.couchdb.entities.AddressCouchOTO


        emf.close();
    }

    @Test
    public void testCRUD() {
        AddressCouchOTO address = new AddressCouchOTO();
        address.setAddressId("a");
        address.setStreet("sector 11");

        PersonCouchOTO person = new PersonCouchOTO();
        person.setPersonId("1");
        person.setPersonName("Kuldeep");
        person.setAddress(address);
View Full Code Here


    }

    @Test
    public void testQuery() {
        AddressCouchOTO address = new AddressCouchOTO();
        address.setAddressId("a");
        address.setStreet("sector 11");

        PersonCouchOTO person = new PersonCouchOTO();
        person.setPersonId("1");
        person.setPersonName("Kuldeep");
        person.setAddress(address);

        em.persist(person);

        AddressCouchOTO address1 = new AddressCouchOTO();
        address1.setAddressId("b");
        address1.setStreet("sector 12");

        PersonCouchOTO person1 = new PersonCouchOTO();
        person1.setPersonId("2");
        person1.setPersonName("KK");
        person1.setAddress(address1);
View Full Code Here

TOP

Related Classes of com.impetus.client.couchdb.entities.AddressCouchOTO

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.