File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Gettting multiple data at a ago into the database when a call is made to em.persist

 
Wal Samaad
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am developing an app that needs to use EJB and persistence API extensively. I would want to know if it is posssible to insert multiple data at a ago into the database when you call em.persist(). I have a code structure but each i call the method, it only execute once and stop. I get my parameters from the webpage and connect to database using helper classes and do multiple iteraion and insertions to get my data into the database.
 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
KeepItDown. I have changed your title to lowercase.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic