Package org.objectweb.speedo.pobjects.ref.fkId

Examples of org.objectweb.speedo.pobjects.ref.fkId.Release


   
    PersistenceManager pm = pmf.getPersistenceManager();
    String name_id = "project1";
    String team_id = "dpc";
    Project p1 = new Project(name_id, team_id);
    Release r1 = new Release();
    r1.setProject(p1);
    r1.setVersion(1);
    //make the project persistent
    pm.makePersistent(p1);
    //keep the id of the project
    Object project1ID = pm.getObjectId(p1);
    Assert.assertNotNull("null object identifier", project1ID);
View Full Code Here

TOP

Related Classes of org.objectweb.speedo.pobjects.ref.fkId.Release

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.