Package models

Examples of models.Session.save()


                final int nbComments = Dummy.randomInt(2*averageCommentsPerMember);
                for (int i = 0; i < nbComments; i++) {
                    Session s = sessions.get(Dummy.randomInt(sessions.size()));
                    s.addComment(new SessionComment(m, s, Dummy.randomText(3000)));
                    s.save();
                }
            }
        }
    }
   
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.