• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to pass a List in PreparedStatement.setArray()?

 
kayanaat sidiqui
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI all,

I am stuck at this code.

I am having a list say listItem.
Now i want to set each value of listItem into database.

I am using preparedStatment.setArray().

But getting it.

Can you help me..



 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!