本文共 661 字,大约阅读时间需要 2 分钟。
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(); }
转载地址:http://akdai.baihongyu.com/