aspose file tools
The moose likes JSF and the fly likes How to insert multiple rows in the database within one go Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "How to insert multiple rows in the database within one go " Watch "How to insert multiple rows in the database within one go " New topic
Author

How to insert multiple rows in the database within one go

Adnan Gondal
Ranch Hand

Joined: Apr 30, 2011
Posts: 32
Can we add multiple rows in the database table from JSF page in one go?

Actually i want to make an attendance page, i want to take attendance of all employees in one JSF page in one go that is when user will press save button then all employees attendance will get save in database.

Is it possible to achieve this using managed bean and JSF page? Kindly give me some idea that how it can be achieved?

I've done insert,view,update and delete for single row.
Guy deLyonesse
Ranch Hand

Joined: Apr 12, 2011
Posts: 189

Using any of the JPA implementations you could do it easily.

I personally like EclipseLink.
Eswar Nec
Ranch Hand

Joined: May 02, 2010
Posts: 105
I think already you asked same question. So avoid duplicate question.

See your private message.


Wake up! Don't let your smile be snatched away by anybody!
Regards, Eswar
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to insert multiple rows in the database within one go
 
Similar Threads
Adding multiple rows in database table from one JSF page in one go
How to use INSERT INTO ALL statement in jdbc prepared statement with beans
JDBC & JSP
Need a sample query
jsf or ice faces