Hi, I am trying to save something into database, but i am getting this error:
What I don't understand is that the values delivery_restriction_id = 62 delivery_type_id = 343 are clearly present from this line:
Batch entry 0 insert into public.del_res_del_type_xref (delivery_restriction_id, delivery_type_id) values (62, 343) was aborted
but why does hibernate complain that key is not present. I look in both tables (delivery_restriction and delivery_type) and the id's are there.
Here's del_res_del_type_xref's script
Joined: Jun 16, 2007
The error only says that delivery_restriction_id = 62 is not present in delivery_restriction table.
Did you check the DB? Did you run the query on delivery_restriction for id=62 and did you get any results?