Hibernate violation error
Posted
by sarah
on Stack Overflow
See other posts from Stack Overflow
or by sarah
Published on 2010-04-19T13:45:04Z
Indexed on
2010/04/19
13:53 UTC
Read the original article
Hit count: 154
Hi All,
I am having a designation table with d_name as primary key which i am using in user table as foreign key reference .I am using hbm for mapping in designation hbm i have id defined as d_name mapped to database column .I am getting a error saying
"integrity constraint violation(user_designation_fk) parent key not found. "
Where am i going wrong /this error is coming while i am tring to add a user selecting a designation reading from designation table.
© Stack Overflow or respective owner