fixed problems with h2 db and multiple unique constraints