Package org.objectweb.speedo.pobjects.sequence.id.speedoExtension

Examples of org.objectweb.speedo.pobjects.sequence.id.speedoExtension.Maps


    PersistenceManager pm = pmf.getPersistenceManager();
    pm.getObjectIdClass(Maps.class);
    //get the sequence
    Sequence s = pm.getSequence(MAP_SEQ);
    assertNotNull("Sequence " + MAP_SEQ + " should not be null.", s);
    Maps m1 = new Maps();
    m1.setName("map 1");
    Maps m2 = new Maps();
    m2.setName("map 2");
   
    Collection c = new ArrayList();
    c.add(m1);
    c.add(m2);
    //make persistent
View Full Code Here

TOP

Related Classes of org.objectweb.speedo.pobjects.sequence.id.speedoExtension.Maps

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.