Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 10.3.1.4
-
Fix Version/s: 10.3.1.4
-
Component/s: Documentation
-
Labels:None
Description
In the autogenerated keys examples there is a typo:
http://db.apache.org/derby/docs/dev/ref/crefjavstateautogen.html
The example for Code fragment 1 has
stmt.execute(
"INSERT INTO TABLE1 (C11) VALUES (1)",
Statement.RETURN_GENERATED_KEY);
but it should be:
stmt.execute(
"INSERT INTO TABLE1 (C11) VALUES (1)",
Statement.RETURN_GENERATED_KEYS);
http://db.apache.org/derby/docs/dev/ref/crefjavstateautogen.html