| Author |
prepared statement hashmap
|
matteo rossi
Greenhorn
Joined: May 20, 2012
Posts: 2
|
|
Hi, I have a HTML form with a lot of many fields (string, date, int, double). I send them to a servlet that must execute insert into db table. Which is method faster? I'd like write minimum code lines. prepared statement and hashmap? Can you give me an example?
thanks
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56529
|
|
|
Don't worry about what's fastest at this point. Do what makes the most sense.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
matteo rossi
Greenhorn
Joined: May 20, 2012
Posts: 2
|
|
|
Ok, I want write not much code (minimum).
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56529
|
|
No one is stopping you. Go right ahead.
Then post back with any problems you might have, including the code (be sure to UseCodeTags).
|
 |
 |
|
|
subject: prepared statement hashmap
|
|
|