This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
<sql-insert>INSERT INTO CHILD_TABLE(USERNAME,CHILD_DATA,CHILD_NAME) VALUES (?,?,?) </sql-insert>
Problem: ---------- After inserting record on the Master table, <sql-insert> from the child.hbm.xml is not executed, insted hibernate generates update query on its own for the child since USERNAME exists.