-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception - unable to set mappedBy child object #66
Comments
Hello @munish-usit thank you for using RelMongo, your issue is that |
Hello @kaiso , Do you have any plan to support List in many to many relationship ? Thanks, |
Hello @munish-usit Unfortunately I have no plan for that for now, I have studied the feature and the outcome was that it is very complex. |
I am using below structure
class ProfileEntity{
.......
@OneToMany(fetch=FetchType.EAGER, cascade=CascadeType.PERSIST)
@JoinProperty(name="emailNotificationsId")
private List emailNotifications;
}
public class EmailNotificationsEntity {
}
For this structure i am getting below error while fetching ProfileEntity data
io.github.kaiso.relmongo.exception.RelMongoProcessingException: unable to set mappedBy child object Can not set java.util.List field com.test.core.profile.entity.EmailNotificationsEntity.profiles to com.test.core.profile.entity.ProfileEntity
The text was updated successfully, but these errors were encountered: