File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes How to pass a List in PreparedStatement.setArray()? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to pass a List in PreparedStatement.setArray()?" Watch "How to pass a List in PreparedStatement.setArray()?" New topic
Author

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

kayanaat sidiqui
Ranch Hand

Joined: Sep 04, 2008
Posts: 122
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..



 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to pass a List in PreparedStatement.setArray()?