Forums Register Login

Updation of child table.

+Pie Number of slices to send: Send
I am using one parent table and one child table.While saving the parent table child table also get saved.ie.In parent table while saving one row,more than one row (say 3 rows) are saved in child table according to my project.The problem is while updating the record,If I am setting only 2 rows in child table means,it is not getting updated in the db.All the 3 rows which was inserted while saving the record are there in db.How to update the child table in this case??
+Pie Number of slices to send: Send
Are you using JDBC? or Any ORM frameworks like Hibernate?
+Pie Number of slices to send: Send
I am using ORM in hibernate only.
It's hard to fight evil. The little things, like a nice sandwich, really helps. Right tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1077 times.
Similar Threads
JPA - child insertion while parent updation is possible?
Assign an Array to an Array Element
dynamic table with sort
JTable - Selected row
How to Determine Whether to Insert or Update
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 09:56:09.