Based on your example, it looks like only file_name is being checked for uniqueness, not the combination of file_name and revision_id. That is every insert failure is exactly when you already have a row in the DB with that file_name, the value of revision_id seems irrelevant.
-- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
