You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can do it with prePersistPostEntity() method in your controller. You need to define it and iterate over image collection creating Image entities and persisting them to database.
Also, if you need to edit the Post and manipulate its images collection you need to consider defining preUpdatePostEntity() method that would check for missing images and create them like in "persist" event.
FEATURE REQUEST
entity #1 - Post
entity #2 - Image (many to one with post)
i want to insert 1 post and multi image at once
The text was updated successfully, but these errors were encountered: