Package org.objectweb.speedo.pobjects.userid

Examples of org.objectweb.speedo.pobjects.userid.Ref2AutoIncFieldId


            PersistenceManager pm = pmf.getPersistenceManager();
            pm.currentTransaction().begin();
            ArrayList al = new ArrayList();
            al.add(new AutoIncFieldId());
            al.add(new AutoIncFieldId());
            Ref2AutoIncFieldId ref = new Ref2AutoIncFieldId(new AutoIncFieldId(), al);
            pm.makePersistent(ref);
            pm.currentTransaction().commit();
            pm.currentTransaction().begin();
            pm.deletePersistentAll(al);
      pm.deletePersistent(ref.getSimpleRef());
            pm.deletePersistent(ref);
            pm.currentTransaction().commit();
            pm.close();
        } catch (Exception e) {
            logger.log(BasicLevel.ERROR, "Exception", e);
View Full Code Here

TOP

Related Classes of org.objectweb.speedo.pobjects.userid.Ref2AutoIncFieldId

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.