My application contains a table, Cust which has a child CUST_IDENTIFIER.
The problem arises when we try to insert a customer who has data that creates a constriant violation in the CUST_IDENTIFIER but no issues in the cust table. Will modifying the hbm.xml file, solve this issue. I need to solve the issue so that when i save the CUST table it tells me that it cannot insert because the child table has a constraint violation (or an exception is thrown) . Instead now data is inserted into the child table but an exception is thrown when it tries the CUST_IDENTIFIER table. I need to solve this by modifying the hibernate files .
[ Edited to use code tags - Paul Sturrock ] [ November 17, 2006: Message edited by: Paul Sturrock ]