About Question enthuware.ocpjp.v7.2.1162 :
Posted: Wed May 27, 2015 4:49 pm
Current Explanation says:
Since auto-commit has been disabled in the given code
(by calling c.setAutoCommit(false)),
you have to call commit() on Connection object explicitly ...
The object for the method should be changed to
con.setAutoCommit(false);
-----
[Explanation should say]
-----
Since auto-commit has been disabled in the given code
(by calling con.setAutoCommit(false)),
you have to call commit() on Connection object explicitly ...
-----
The explanation is correct, just a minor syntactical observation.
_____________________________________________________________________
Please confirm.
Since auto-commit has been disabled in the given code
(by calling c.setAutoCommit(false)),
you have to call commit() on Connection object explicitly ...
The object for the method should be changed to
con.setAutoCommit(false);
-----
[Explanation should say]
-----
Since auto-commit has been disabled in the given code
(by calling con.setAutoCommit(false)),
you have to call commit() on Connection object explicitly ...
-----
The explanation is correct, just a minor syntactical observation.
_____________________________________________________________________
Please confirm.