SQL话语进行插入

SQL语句进行插入?Connection conn null??PreparedStatement pstm null??ResultSet rs null??conn

SQL语句进行插入

?Connection conn = null;
??PreparedStatement pstm = null;
??ResultSet rs = null;
??conn = JDBC_Connection.getConnection();
??String sqlinsert ="insert into tbvideo(panoramaId,no,title,duration,publisher) values('"+panoramaId+"','"+no+"','"+title+"','"+duration+"','"+publisher+"')";
??
??try {
???pstm= conn.prepareStatement(sqlinsert);
??? pstm.execute();
??? System.out.print("kkkk");
??//? pstm.executeUpdate();
??} catch (SQLException e) {
???// TODO Auto-generated catch block
???e.printStackTrace();
??}

?

?

?