Re: Incorrect string value: '\xAC\xED\x00\x05sr...' for column
Posted by: Karen Goh
Date: December 27, 2018 07:33AM

Hi Filipe,

I am writing to you again, as I hope you could advise me how to do the insert if the List<String> is inserted together with other Strings ?

For example, I have
Person m = new Person()
ps.setString(1, name)
for (int i = 0; i < m.getSubjects().size(); i++)
then follows by the ps.setObject(2, getSubjects(1));

How do I do it such that the list of String will go into different rows ?


Options: ReplyQuote

Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.