Error: detached entity passed to persist - try to persist complex data (Play-Framework)

后端 未结 4 1750
无人共我
无人共我 2021-02-04 12:57

I have a problem with persisting data via play-framework. Maybe it\'s not possible to achive that result, but it would be really nice if it would work.

Simple

4条回答
  •  既然无缘
    2021-02-04 13:11

    According to Play documentation you should provide a query string like the following:

    ?shop.addresses[0].id=123
    &shop.addresses[1].id=456
    &shop.addresses[2].id=789
    

    I am not sure whether you provide it correctly. Try this:

    
    

提交回复
热议问题