wood burning stoves 2.0*
The moose likes JDBC and the fly likes What is the best way to save List<List<String>> object in database? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Reply locked New topic
Author

What is the best way to save List<List<String>> object in database?

Gaurav Kr. Arora
Ranch Hand

Joined: Feb 20, 2011
Posts: 37
Hi,

I have List<List<String>> object and want to persist it in DB. Size of this List<List<String>> object can be many thousands.
I believe conventional way of using Insert queries will be an overhead and not the best way.
What is the best way to do it?

Thanks in advance,
Vineet
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37926
    
  22
Until you show me how this post differs from that one, I shall close this thread as a duplicate.

Jeanne, Scott, I hope you don't mind.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: What is the best way to save List<List<String>> object in database?
 
Similar Threads
find a String
Comparing List and Map
Searching a LinkedList
Prototype and script.aculo.us ToC
String[ ] to File[ ]