hi all,
Please consider the follwoing example
https://glassfish.dev.java.net/javaee5/ ... ample.html
In my scenario consider this onetomany relationship as UniDirectional.
The problem is when i update the customer by removing an order,the entity manger MERGE removes only the link but not the entier row realted that order.i.e., removes the CUSTOMER_ID from the ORDER_TABLE,not the entire row.
For this whether i have use Entity manger.remove while updating???
Is anyone faced the same problem???
regards,
sathish