Changed dialect from derby to posgresql, changed id generation for Product and ProductCategory models