Saturday, April 21, 2001 10:02 AM
In JSP code, I inserted a reocrd to a DB table (stmt.executeUpdate("insert TableA...");
), after inserting, I want to check wheather this record has been inserted successfully or not, so I used Query action (ResultSet RS = workM.executeQuery("select * from TableA...");
) and list all the reords in that table. While what I got are the old records and the new one is missed. But I could see it after reload the page, I ckecked my BD table, the record was indeed there after inserting, just couldn't be queried properly after inserting action. Who can help me out? Thanks in advance!