Hello, I am trying to insert a data to my db2 9.7 database from IBM RAD 7.5 using struts 1.3 But when i execute the query i got this errors: http://pastebin.com/3UPTVKbh
KayitBean kayit=(KayitBean)form;
//String name = kayit.getName();
String name="endee";
DBConn hb = new DBConn();
Connection conn =hb.getConnection();
System.out.println("basarili");
//String sql = "SELECT * FROM ENDER.\"MEKANDENEME\"";
String sql = "INSERT INTO ENDER.\"MEKANDENEME\" VALUES (\'endere\' ,\'bos\');";
System.out.println(sql);
System.out.println("basarili2");
PreparedStatement ps = conn.prepareStatement(sql);
System.out.println("basarili3");
ResultSet rs = ps.executeQuery();
// String ender=rs.getArray(1).toString();
System.out.println("basarili4");
// System.out.println(rs);
conn.close();
I am receiving this after System.out.println("basarili3");" Please help me.