Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to set string in prepared statement

807606Apr 30 2007 — edited Apr 30 2007
Hi all,

I just want to set an string to a prepared stmt.
the setting string is in the format..... the integers with comma saparated....
str="23,55,22"
ps.setString(1,str)
The prepare statement is taking only the first integer... i.e. 23


can any one help me out..........
thanks in advance,
prakhyath
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 28 2007
Added on Apr 30 2007
19 comments
1,543 views