Hi,
I'm looking at a piece of code where we go from a generated POJO to a full insertInto query, where we manually specify all the POJO fields. This is done so we can do onDuplicateKeyIgnore on it.
The pain here is that when adding a new column to that table, one also has to add it to this query. I quickly set off to replace this with a DAO usage with the original POJO, but found no way to express the desire to ignore errors if the key already existed.
My question now is whether such mechanism exists or not.
Thanks and regards,
Jacobo de Vera