Java statement, Load Data return generated keys
My question may be very simple, but I cannot find an answer to it.
If I execute statement.execute("LOAD DATA ...")
, it will generate return keys exactly like INSERT
Statement.
If I don't want to receive any return value from the operator LOAD DATA
, I have to execute:
statement.execute("LOAD DATA ...",Statement.NO_GENERATED_KEYS)
or is it unnecessary since statement.execute("LOAD DATA ...")
it won't return any keys in this case?
+3
source to share