How can I insert arabic word to mysql database using java

后端 未结 4 2196
时光说笑
时光说笑 2020-12-01 13:34

I have a java application, want to insert arabic words to mysql database, my code looks like

Connection con = null;
    String url = \"jdbc:mysql://localhos         


        
4条回答
  •  遥遥无期
    2020-12-01 13:58

    @maerics I tried using PreparedStatement instead and SQL Injection attack is still able to be done, I think either am implementing the PreparedStatemnt wrong or your feed is incorrect.

提交回复
热议问题