Examples of IntToLong


Examples of org.conserve.objects.schemaupdate.changedcolumns.IntToLong

    pm.close();
    //check that the integer has been changed into a long
    pm = new PersistenceManager(driver, database, login, password);
    List<IntToLong>res1 = pm.getObjects(IntToLong.class,new All());
    assertEquals(1,res1.size());
    IntToLong obj1 = res1.get(0);
    assertTrue(obj1.getName().equals(name));
    assertEquals(1,obj1.getValue());
    pm.close();
   
    //change long to int
    pm = new PersistenceManager(driver, database, login, password);
    pm.changeName(IntToLong.class, OriginalObject.class);
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.