reset password
Author Message
ajoshi6
Posts: 46
Posted 23:41 Feb 13, 2016 |

hello professor,

In homework 4 , for Point-3 we have to add department, program and additional details.

we are adding them but only department is populated not additional details nor program.

how this can be done?

 

thank you

cysun
Posts: 2935
Posted 08:46 Feb 14, 2016 |

Chances are you either need to add @Transactional to the DAO methods that update the database, or add {CascadeType.MERGE, CascadeType.PERSIST} or CascadeType.ALL to the collections to be saved.