File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
insertRow or SQl query
Joined: Jan 09, 2003
May 26, 2004 02:13:00
is it better to use rs.insertRow through a resultset or by an statement of SQl query through a connection object.
Joined: Mar 18, 2004
May 26, 2004 03:10:00
Its better to use prepared statement to insert the record in database. Its more efficient. I think most of the drivers not support insertRow.
I agree. Here's the link:
subject: insertRow or SQl query
How to Find Out There Are Identical Records Without Using the Select?
Hibernate Query taking long time
Transfer Excel Sheet information to database
auto generated unique Id?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014