Is it possible to obtain auto-generated IDs when writing data using DBOutputFormat?
For example, is it possible to write Mapper which stores records in DB and returns auto-generated IDs of these records? Let me explain what I am trying to achieve: I have data like this <key, (value,value,value)> which I would like to store in normalized for in two tables. First table will store keys (string). Each key will have unique int id auto-generated by mysql. Second table will have (key_id,value) pairs, key_id being foreign key, pointing to first table. Sincerely, Vadim