Win a copy of Python Continuous Integration and Delivery this week in the Python forum!
  • 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
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

Need explanation on this by A Kunin  RSS feed

 
Ranch Hand
Posts: 483
  • 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: 172
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: 5282
143
  • 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).
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!