• 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
  • 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
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 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