• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

Need explanation on this by A Kunin  RSS feed

 
Ranch Hand
Posts: 468
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to insert List<String> together with other variables into MYSQL, as now i am facing the problem in the insertion to make it into different rows. Can this be done? or Am I making my life too difficult this way?


There is this method shown by A Kunin which I hope to understand what he is trying to say; as I am quite lost what he is trying to do.

https://stackoverflow.com/questions/3107044/preparedstatement-with-list-of-parameters-in-a-in-clause

Tks!
 
Ranch Hand
Posts: 163
1
Android Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

tangara goh wrote:Hi,I am trying to insert List<String> together with other variables into MYSQL....


Can you explain more ?
 
Saloon Keeper
Posts: 5132
135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm guessing this is a continuation of sorts of the question asked in https://coderanch.com/t/703310/java/set-parameter-case (a topic which was seemingly abandoned without coming to a resolution).
 
We can walk to school together. And we can both read this tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!