Meaningless Drivel is fun!*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 14687
    
  16

KeepItDown. I have changed your title to lowercase.


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Gettting multiple data at a ago into the database when a call is made to em.persist
 
Similar Threads
Calling Oracle stored procedures in JRun container
find and persist in the same trans.
Detached Entity Exception in JPA (Detached entity passed to persist)
Persit method strange behaviour
How do you get underlying sql exceptions when using Java persistence