SQL.insert(" insert into questions (question_text, multiple_choices) " + " values (:QuestionText, :MultipleChoices) ", formData); SQL.selectInto(" values IDENTITY_VAL_LOCAL() " + " into :QuestionNr", formData);
SQL.insert( " insert into category(name) " + " values (:categoryName) ", formData ); SQL.selectInto( " select category_id, " + " last_update " + " from category " + " where category_id = LAST_INSERT_ID() " + " into :id, " + " :lastUpdate ", formData.getMetadataBox());