Mark S Waterbury wrote:
See especially the link "JDBC - Result Sets" on the left.
Their so-called "award-winning tutorial" (what kind of award? The DARWIN
Award?) starts out fine, but turns to bupkis when it gets to updating
As soon as their own example code,
rs.updateDouble( "age", newAge );
com.mysql.jdbc.NotUpdatable: Result Set not updatable (referenced table has no primary keys).This result set must come from a statement that was created with a result set type of ResultSet.CONCUR_UPDATABLE, the query must select only one table, can not use functions and must select all primary keys from that table. See the JDBC 2.1 API Specification, section 5.6 for more details.
They provide no direct link to email the author, just a very-low-traffic
BBS, and when I signed up and posted my complaint thereon, I got back a
message accusing me of spamming the board.
Anybody know of tutorials that actually work, by non-anonymous authors?