Database insertion

后端 未结 2 1019
-上瘾入骨i
-上瘾入骨i 2021-01-28 23:14
if(lines.size() >= 5){
    String Actor  = it.next();
    String Bio = it.next();
    String More_Bio = it.next();
    String Reason = it.next();
    String Fact = it         


        
2条回答
  •  说谎
    说谎 (楼主)
    2021-01-29 00:03

    You need to escape your single quotes. Fortunately, Java takes care of this with PreparedStatements http://docs.oracle.com/javase/tutorial/jdbc/basics/prepared.html

提交回复
热议问题