以下6行目にてタイトルのエラーが出てしまいます。何か問題ありますでしょうか?
+1 Connection con = null;
+2 con = DriverManager.getConnection(url, userId, password);
+3 con.setAutoCommit(false);
+4 Statement st = con.createStatement();
+5 String str = "select * from table1";
+6 ResultSet result = st.executeQuery( str );
+7 con.commit();
+8 con.close();
回答1件
あなたの回答
tips
プレビュー