Preparing a command and then asking for generated key would lose the parameters already specified