Joined July 2018
·

Hussein Bader

IT Engineer at MOST
·
Baghdad
·

Will you can use "setNString " as show in Example
String Insr="Insert into PTTable "+"(PaID,Paname,PaAge,PaGender,PaDoctor,PaDate,TestID) VALues"+"(?,?,?,?,?,?,?)";

PreparedStatement stmt=(PreparedStatement)con.prepareCall(Insr);

 stmt.setInt(1, PaID);
 stmt.setNString(2,Paname);
 stmt.setInt(3, PaAge);
stmt.setNString(4, PaGender);
stmt.setNString(5,PaDoctor);
stmt.setDate(6, Padate);
stmt.setInt(7, TestID);
stmt.executeUpdate();
Achievements
1 Karma
0 Total ProTip Views
Interests & Skills