aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Gettting multiple data at a ago into the database when a call is made to em.persist Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Gettting multiple data at a ago into the database when a call is made to em.persist" Watch "Gettting multiple data at a ago into the database when a call is made to em.persist" New topic
Author

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

Wal Samaad
Greenhorn

Joined: Jan 20, 2010
Posts: 17
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

Joined: Nov 24, 2005
Posts: 14688
    
  16

KeepItDown. I have changed your title to lowercase.


[My Blog]
All roads lead to JavaRanch
 
wood burning stoves
 
subject: Gettting multiple data at a ago into the database when a call is made to em.persist